summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-07-09 20:04:27 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-07-09 20:04:27 +0100
commitc86c772ce6c39f1f39e3f4046f4f79c65d41561b (patch)
tree2ccd2946b7ffa2926370b00fd5b8a33e304a7e04
parent55d2e1126a8084ae8baa0431efba69ba50c1cf76 (diff)
downloadnetsurf-c86c772ce6c39f1f39e3f4046f4f79c65d41561b.tar.gz
netsurf-c86c772ce6c39f1f39e3f4046f4f79c65d41561b.tar.bz2
Remove more dead code.
-rw-r--r--riscos/window.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/riscos/window.c b/riscos/window.c
index 519285032..ab8dd1306 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -972,8 +972,6 @@ static void gui_window_update_extent(struct gui_window *g)
{
os_error *error;
wimp_window_info info;
- wimp_window_state state;
- unsigned int flags;
assert(g);
@@ -992,8 +990,7 @@ static void gui_window_update_extent(struct gui_window *g)
info.yscroll += scroll;
}
- /* only schedule a reformat if we've gained/lost scrollbars */
- flags = info.flags & (wimp_WINDOW_HSCROLL | wimp_WINDOW_VSCROLL);
+ /* Handle change of extents */
g->update_extent = true;
ro_gui_window_open(PTR_WIMP_OPEN(&info));
}