Fixed bug #471
authorSam Lantinga <slouken@libsdl.org>
Tue, 21 Aug 2007 06:54:07 +0000
changeset 2273 a25bc0f79557
parent 2272 25a87553a59d
child 2274 aedfcdeb69b6
Fixed bug #471
src/video/cocoa/SDL_cocoakeyboard.m
--- 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;