summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-09-04 19:18:01 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-09-04 19:18:01 +0000
commit9856bc0923b4066c355175a8fbf7d8190c413b6f (patch)
tree7480b3aa73ed296715ef4ec7b972fdae164eca76 /riscos
parente1f20d37c5c79b7c43e2853a101a0a34bcdb222c (diff)
downloadnetsurf-9856bc0923b4066c355175a8fbf7d8190c413b6f.tar.gz
netsurf-9856bc0923b4066c355175a8fbf7d8190c413b6f.tar.bz2
Delete redundant browser_window_type test.
svn path=/trunk/netsurf/; revision=12716
Diffstat (limited to 'riscos')
-rw-r--r--riscos/window.c3
1 files changed, 1 insertions, 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);