diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-01-26 22:20:15 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-01-26 22:20:15 +0000 |
| commit | 87e29cef828548c397692473683eebd9613b661c (patch) | |
| tree | 367282e8eb68b51f0de993710192e6485a90dafb /src/fl_draw.cxx | |
| parent | 034a4f3f2a15302b1a1ea3df6033cbffdc7b7418 (diff) | |
Moving image drawing code into the driver system
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11060 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_draw.cxx')
| -rw-r--r-- | src/fl_draw.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/fl_draw.cxx b/src/fl_draw.cxx index 5cc41d78c..e74df72d2 100644 --- a/src/fl_draw.cxx +++ b/src/fl_draw.cxx @@ -96,17 +96,6 @@ static const char* expand_text_(const char* from, char*& buf, int maxbuf, double } else if (c < ' ' || c == 127) { // ^X *o++ = '^'; *o++ = c ^ 0x40; -/* This is in fact not useful: the point is that a valid UTF-8 sequence for a non-ascii char contains no ascii char, - thus no tab, space, control, & or @ we want to process differently. - Also, invalid UTF-8 sequences are copied unchanged by this procedure. - Therefore, checking for tab, space, control, & or @, and copying the byte otherwise, is enough. - } else if (handle_utf8_seq(p, o)) { // figure out if we have an utf8 valid sequence before we determine the nbsp test validity: -#ifdef __APPLE__ - } else if (c == 0xCA) { // non-breaking space in MacRoman -#else - } else if (c == 0xA0) { // non-breaking space in ISO 8859 -#endif - *o++ = ' ';*/ } else if (c == '@' && draw_symbols) { // Symbol??? if (p[1] && p[1] != '@') break; *o++ = c; |
