diff options
Diffstat (limited to 'macosx/tkMacOSXKeyEvent.c')
-rw-r--r-- | macosx/tkMacOSXKeyEvent.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/tkMacOSXKeyEvent.c b/macosx/tkMacOSXKeyEvent.c index fb75fb6..688d7dd 100644 --- a/macosx/tkMacOSXKeyEvent.c +++ b/macosx/tkMacOSXKeyEvent.c @@ -17,7 +17,9 @@ #include "tkMacOSXInt.h" #include "tkMacOSXConstants.h" #include "tkMacOSXWm.h" -#define IS_PRINTABLE(keychar) ((keychar >= 0x20) && (keychar < 0xF700)) +#define IS_PRINTABLE(keychar) ((keychar >= 0x20) && \ + (keychar != 0x7f) && \ + (keychar < 0xF700)) /* #ifdef TK_MAC_DEBUG |