Commit e14963d9 authored by Sam Lantinga's avatar Sam Lantinga

Fixed bug #471

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402636
parent 8e5b2416
...@@ -380,6 +380,7 @@ Cocoa_HandleKeyEvent(_THIS, NSEvent *event) ...@@ -380,6 +380,7 @@ Cocoa_HandleKeyEvent(_THIS, NSEvent *event)
text = [[event characters] UTF8String]; text = [[event characters] UTF8String];
if(text && *text) { if(text && *text) {
SDL_SendKeyboardText(data->keyboard, text); SDL_SendKeyboardText(data->keyboard, text);
[data->fieldEdit setString:@""];
} }
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment