diff options
-rw-r--r-- | src/cmd/devdraw/osx-screen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/devdraw/osx-screen.c b/src/cmd/devdraw/osx-screen.c index 7c686ed9..f6ed3e93 100644 --- a/src/cmd/devdraw/osx-screen.c +++ b/src/cmd/devdraw/osx-screen.c @@ -485,7 +485,9 @@ kbdevent(EventRef event) k = ch; if(code < nelem(keycvt) && keycvt[code]) k = keycvt[code]; - if(k >= 0) + if(k == 0) + return noErr; + else if(k > 0) keystroke(k); else{ UniChar uc; |