Mercurial > sdl-ios-xcode
diff src/video/cocoa/SDL_cocoakeyboard.m @ 4637:8c229370ddba
Fix for deleting the last uncommit character
author | Jjgod Jiang <gzjjgod@gmail.com> |
---|---|
date | Thu, 12 Aug 2010 16:00:47 +0200 |
parents | e2d46c5c7483 |
children | c24ba2cc9583 |
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoakeyboard.m Mon Aug 16 09:04:55 2010 -0700 +++ b/src/video/cocoa/SDL_cocoakeyboard.m Thu Aug 12 16:00:47 2010 +0200 @@ -144,6 +144,8 @@ { [_markedText release]; _markedText = nil; + + SDL_SendEditingText("", 0, 0); } - (NSRect) firstRectForCharacterRange: (NSRange) theRange