r=pedemont, sr=blizzard (platform specific), a=mkaply
OS/2 only - remove some code that's breaking numlock stuff
This commit is contained in:
mkaply%us.ibm.com 2004-04-08 20:18:15 +00:00
parent a064dd94bb
commit 8714a64a46

View File

@ -3844,7 +3844,9 @@ PRUint32 WMChar2KeyCode( MPARAM mp1, MPARAM mp2)
( ((flags & KC_ALT) && ( sc != PMSCAN_PADPERIOD)) ||
((flags & (KC_CHAR | KC_SHIFT)) == KC_CHAR) ||
((flags & KC_KEYUP) && rc2 != 0) ) )
{ // If this is the Numpad must not return VK for ALT+Numpad or ALT+NumLock+NumPad
{
#if 0
// If this is the Numpad must not return VK for ALT+Numpad or ALT+NumLock+NumPad
// NumLock+NumPad is OK
if( gNumPadMap[sc - PMSCAN_PAD7] != 0)
{
@ -3858,6 +3860,7 @@ PRUint32 WMChar2KeyCode( MPARAM mp1, MPARAM mp2)
}
}
else
#endif
{
// No virtual key for Alt+NumPad or NumLock+NumPad
rc = 0;