Mercurial > sdl-ios-xcode
diff src/video/cocoa/SDL_cocoakeyboard.m @ 2273:a25bc0f79557
Fixed bug #471
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 21 Aug 2007 06:54:07 +0000 |
parents | d5a11262f067 |
children | f629d566ec6b |
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;