From accf34f276b200f87d30bc0800895420798ed2ff Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 7 Nov 2010 20:13:50 +0000 Subject: Implemented search backwards for utf-8. Tested on MSWindows - OK. Tested on Linux (Ubuntu) - K. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_utf8.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/fl_utf8.cxx') diff --git a/src/fl_utf8.cxx b/src/fl_utf8.cxx index 1cd809eed..6d69a588e 100644 --- a/src/fl_utf8.cxx +++ b/src/fl_utf8.cxx @@ -378,11 +378,11 @@ int fl_latin12utf(const unsigned char *str, int len, char *buf) */ unsigned int fl_nonspacing(unsigned int ucs) { -#ifdef __APPLE__ - return (ucs==0x20); // FIXME: what does this really do? -#else +//#ifdef __APPLE__ +// return (ucs==0x20); // FIXME: what does this really do? +//#else return (unsigned int) XUtf8IsNonSpacing(ucs); -#endif +//#endif } #if defined(WIN32) && !defined(__CYGWIN__) -- cgit v1.2.3