summaryrefslogtreecommitdiff
path: root/riscos/window.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-06-27 15:34:46 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-06-27 15:34:46 +0000
commit79a10e41a4be1a718df36e54036cd1666f967fef (patch)
treeb18ad5673a03a42aff5718c684564ec1464c3f58 /riscos/window.c
parent50e0ebf3fa1fa09603371d81b971f5f95331ecd2 (diff)
downloadnetsurf-79a10e41a4be1a718df36e54036cd1666f967fef.tar.gz
netsurf-79a10e41a4be1a718df36e54036cd1666f967fef.tar.bz2
[project @ 2004-06-27 15:34:46 by rjw]
Missing file from last commit svn path=/import/netsurf/; revision=1019
Diffstat (limited to 'riscos/window.c')
-rw-r--r--riscos/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/window.c b/riscos/window.c
index c309226cd..bd67b8acf 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -100,8 +100,8 @@ gui_window *gui_create_browser_window(struct browser_window *bw,
window.visible.y0 += 96 - (48 * (window_count % 5));
}
open_centred = false;
- if (100 < win_width) win_width = 100;
- if (100 < win_height) win_height = 100;
+ if (win_width < 100) win_width = 100;
+ if (win_height < 100) win_height = 100;
} else {
win_width = screen_width * 3 / 4;
if (1600 < win_width)