summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_cocoa.mm1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index 9d05181a1..4896cf127 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -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;