diff options
author | James Bursa <james@netsurf-browser.org> | 2004-07-19 15:02:22 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2004-07-19 15:02:22 +0000 |
commit | c4a502219f1cbd32bf27496b44bffc7eb9278344 (patch) | |
tree | a9b358a2cf49318985bf728ba1edad96dfc8f2bd /desktop | |
parent | 14ba3ae2e3d173c0487ad52a1d4d2a6c1142fa2d (diff) | |
download | netsurf-c4a502219f1cbd32bf27496b44bffc7eb9278344.tar.gz netsurf-c4a502219f1cbd32bf27496b44bffc7eb9278344.tar.bz2 |
[project @ 2004-07-19 15:02:22 by bursa]
Use browser_redraw_box() when updating form select controls.
svn path=/import/netsurf/; revision=1106
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/browser.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/desktop/browser.c b/desktop/browser.c index 6ebdbb814..ed5052d22 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -1435,7 +1435,6 @@ void browser_window_form_select(struct browser_window *bw, struct form_option *o; int count; struct box *inline_box = control->box->children->children; - int x, y; for (count = 0, o = control->data.select.items; o != NULL; @@ -1474,9 +1473,7 @@ void browser_window_form_select(struct browser_window *bw, inline_box->length = strlen(inline_box->text); inline_box->width = control->box->width; - box_coords(control->box, &x, &y); - gui_window_redraw(bw->window, x, y, - x + control->box->width, y + control->box->height); + browser_redraw_box(bw->current_content, control->box); } |