diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-11-08 14:19:47 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-11-08 14:19:47 +0000 |
| commit | 6fbc3f3556f8e9acc734235a4fa4d7b56e3793f2 (patch) | |
| tree | 72ba45670f422c8b0f1382227585b893ab57c521 /src/fl_utf8.cxx | |
| parent | d2f4577fc38175f7323c835211dc43cd1fef497d (diff) | |
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
Diffstat (limited to 'src/fl_utf8.cxx')
| -rw-r--r-- | src/fl_utf8.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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__) |
