Author: manolo
Date: 2011-04-29 13:25:04 -0700 (Fri, 29 Apr 2011)
New Revision: 8628
Log:
Corrected spurious FL_NUMLOCK setting.

Modified:
   branches/branch-1.3/src/Fl_cocoa.mm

Modified: branches/branch-1.3/src/Fl_cocoa.mm
===================================================================
--- branches/branch-1.3/src/Fl_cocoa.mm 2011-04-27 12:27:53 UTC (rev 8627)
+++ branches/branch-1.3/src/Fl_cocoa.mm 2011-04-29 20:25:04 UTC (rev 8628)
@@ -179,7 +179,6 @@
 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;

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to