From 9856bc0923b4066c355175a8fbf7d8190c413b6f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 4 Sep 2011 19:18:01 +0000 Subject: [PATCH] Delete redundant browser_window_type test. svn path=/trunk/netsurf/; revision=12716 --- riscos/window.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/riscos/window.c b/riscos/window.c index 6f0bdf08b..57a5eb36e 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -1437,8 +1437,7 @@ void gui_window_set_extent(struct gui_window *g, int width, int height) /* the top-level framed window is a total pain. to get it to maximise * to the top of the screen we need to fake it having a suitably large * extent */ - if (g->bw->children && - (g->bw->browser_window_type == BROWSER_WINDOW_NORMAL)) { + if (g->bw->children) { ro_gui_screen_size(&screen_width, &height); if (g->toolbar) height -= ro_toolbar_full_height(g->toolbar);