changeset 2273:a25bc0f79557

Fixed bug #471
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Aug 2007 06:54:07 +0000
parents 25a87553a59d
children aedfcdeb69b6
files src/video/cocoa/SDL_cocoakeyboard.m
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoakeyboard.m	Mon Aug 20 02:08:37 2007 +0000
+++ b/src/video/cocoa/SDL_cocoakeyboard.m	Tue Aug 21 06:54:07 2007 +0000
@@ -380,6 +380,7 @@
             text = [[event characters] UTF8String];
             if(text && *text) {
                 SDL_SendKeyboardText(data->keyboard, text);
+                [data->fieldEdit setString:@""];
             }
         }
         break;