Fix OS4.0 key duplication issue (unsat bug#62)

and there was much rejoicing

svn path=/trunk/netsurf/; revision=8617
This commit is contained in:
Chris Young 2009-07-18 11:36:41 +00:00
parent 01d87bd5ba
commit 0ef4d08580
1 changed files with 3 additions and 1 deletions

View File

@ -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]);
}