mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
devdraw: fix OS X behavior for Spanish keyboards
R=rsc_swtch, rsc CC=old.codebot, codebot http://codereview.appspot.com/132045
This commit is contained in:
parent
4fe82be00a
commit
8e692500d3
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue