mirror of
https://github.com/yawut/SDL.git
synced 2026-10-02 13:16:43 -05:00
@@ -270,6 +270,8 @@ static void QZ_DoKey (_THIS, int state, NSEvent *event) {
|
||||
[field_edit interpretKeyEvents:[NSArray arrayWithObject:event]];
|
||||
chars = [ event characters ];
|
||||
numChars = [ chars length ];
|
||||
if (numChars > 0)
|
||||
[field_edit setString:@""];
|
||||
} else {
|
||||
numChars = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user