Corrected spurious FL_NUMLOCK setting.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8628 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2011-04-29 20:25:04 +00:00
parent 73a6f06c34
commit ae8d142ed0

View File

@ -179,7 +179,6 @@ static unsigned short macKeyLookUp[128] =
static unsigned int mods_to_e_state( NSUInteger mods )
{
long state = 0;
if ( mods & NSNumericPadKeyMask ) state |= FL_NUM_LOCK;
if ( mods & NSCommandKeyMask ) state |= FL_META;
if ( mods & NSAlternateKeyMask ) state |= FL_ALT;
if ( mods & NSControlKeyMask ) state |= FL_CTRL;