From 8fc96b98625c196cc6ffc4d616e40cd343aa84b5 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 26 Jan 2006 23:52:01 +0000 Subject: [project @ 2006-01-26 23:52:01 by tlsa] Revert accidentally checked in file. svn path=/import/netsurf/; revision=2048 --- riscos/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3