summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2006-01-26 23:52:01 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2006-01-26 23:52:01 +0000
commit8fc96b98625c196cc6ffc4d616e40cd343aa84b5 (patch)
tree33603e411d17fd6128ba5a8e05cc7e5a5063aa9f
parentaacd53515bdeac86d90eabf352bc530ee89d644f (diff)
downloadnetsurf-8fc96b98625c196cc6ffc4d616e40cd343aa84b5.tar.gz
netsurf-8fc96b98625c196cc6ffc4d616e40cd343aa84b5.tar.bz2
[project @ 2006-01-26 23:52:01 by tlsa]
Revert accidentally checked in file. svn path=/import/netsurf/; revision=2048
-rw-r--r--riscos/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/window.c b/riscos/window.c
index b03fd585f..e0da79b3f 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -1179,7 +1179,7 @@ void ro_gui_window_open(struct gui_window *g, wimp_open *open)
}
if ((state.flags & wimp_WINDOW_TOGGLED) && // bit 19
(state.flags & wimp_WINDOW_BOUNDED_ONCE) && // bit 21
- (state.flags & wimp_WINDOW_FULL_SIZE)) { // not bit 18
+ !(state.flags & wimp_WINDOW_FULL_SIZE)) { // not bit 18
ro_gui_screen_size(&screen_width, &screen_height);
/* i can see no way of easily discovering if we were the result of a shift-
* toggle as wimp_WINDOW_PARTIAL_SIZE does not seem to be what we need. As