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
@ -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 New Issue
Block a user