From 0ef4d08580ff64b030fd705b7031b8584309b739 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 18 Jul 2009 11:36:41 +0000 Subject: [PATCH] Fix OS4.0 key duplication issue (unsat bug#62) and there was much rejoicing svn path=/trunk/netsurf/; revision=8617 --- amiga/gui.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/amiga/gui.c b/amiga/gui.c index dc9ed03c7..87801ee85 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -1008,6 +1008,8 @@ void ami_handle_msg(void) case WMHI_RAWKEY: storage = result & WMHI_GADGETMASK; + if(storage >= IECODE_UP_PREFIX) break; + GetAttr(WINDOW_InputEvent,gwin->objects[OID_MAIN],(ULONG *)&ie); switch(storage) @@ -1121,7 +1123,7 @@ ie_qualifier anyway break; } } - else //if(!(ie->ie_Code & IECODE_UP_PREFIX)) + else { browser_window_key_press(gwin->bw,buffer[0]); }