summaryrefslogtreecommitdiff
path: root/src/Fl_cocoa.mm
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-11-06 17:20:32 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-11-06 17:20:32 +0000
commit1d9781a7aee113e899929c0b2c006303377d03c8 (patch)
tree6ab530ccf78ec812c4186b81399d02fe8c4e7a2d /src/Fl_cocoa.mm
parent4758e39d28709ea62b00c518a4b4bdcacacd916e (diff)
A bunch more UTF-8 fixes for Fl_Text_Display.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_cocoa.mm')
-rw-r--r--src/Fl_cocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index 7ce5318b4..ae83357ba 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -916,7 +916,7 @@ OSStatus carbonTextHandler( EventHandlerCallRef nextHandler, EventRef event, voi
fl_lock_function();
UniChar ucs[20];
ByteCount actual_size;
- int i;
+ unsigned int i;
GetEventParameter( event, kEventParamTextInputSendText, typeUnicodeText,
NULL, 20, &actual_size, ucs );
char utf8buf[50], *p;