Skip to content

Commit

Permalink
Fixed bugs #471 and #480
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 21, 2007
1 parent b20ee01 commit 9525f98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/quartz/SDL_QuartzEvents.m
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9525f98

Please sign in to comment.