summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2008-11-06 20:19:00 +0000
committerMatthias Melcher <fltk@matthiasm.com>2008-11-06 20:19:00 +0000
commitebbb4850401c93d2a87f8cb1542afb0012c07188 (patch)
tree2e107968949f6e6eb200b605ad2a81e104bd5fe7
parentc6b9818f4a2a969460a515e46d36c4655a703c58 (diff)
Reverted to old Mac Keyboard handling until new code is functional on allMac versions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_mac.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_mac.cxx b/src/Fl_mac.cxx
index 5d5f5cfce..b56a949ee 100644
--- a/src/Fl_mac.cxx
+++ b/src/Fl_mac.cxx
@@ -1287,7 +1287,7 @@ pascal OSStatus carbonKeyboardHandler(
// Matt: to Carbon. The kEventKeyModifierNumLockMask is only set when
// Matt: a numeric keypad key is pressed and does not correspond with
// Matt: the NumLock light in PowerBook keyboards.
-#if 0
+#if 1
if ( (sym >= FL_KP && sym <= FL_KP_Last) || !(sym & 0xff00) ||
sym == FL_Tab || sym == FL_Enter) {
buffer[0] = key;