From 6fbc3f3556f8e9acc734235a4fa4d7b56e3793f2 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 8 Nov 2010 14:19:47 +0000 Subject: Added smarter Macro to check for utf-8 violations in Fl_Text_* git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7810 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 6d69a588e..1cd809eed 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