summaryrefslogtreecommitdiff
path: root/desktop/browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/browser.c')
-rw-r--r--desktop/browser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/browser.c b/desktop/browser.c
index 9f396c500..c00150ec7 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -2248,13 +2248,14 @@ void browser_window_scroll_box(struct browser_window *bw, struct box *box,
void browser_window_form_select(struct browser_window *bw,
struct form_control *control, int item)
{
+ struct box *inline_box;
struct form_option *o;
int count;
assert(bw);
assert(control);
- struct box *inline_box = control->box->children->children;
+ inline_box = control->box->children->children;
for (count = 0, o = control->data.select.items;
o != NULL;