summaryrefslogtreecommitdiff
path: root/src/fl_utf8.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-11-07 20:13:50 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-11-07 20:13:50 +0000
commitaccf34f276b200f87d30bc0800895420798ed2ff (patch)
tree476cdee7fdb9b3811ad5593f5fb2decbb7aab254 /src/fl_utf8.cxx
parentf0993114811eef4e4dee703d4ebb4769c21f3ff9 (diff)
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
Diffstat (limited to 'src/fl_utf8.cxx')
-rw-r--r--src/fl_utf8.cxx8
1 files changed, 4 insertions, 4 deletions
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__)