diff options
| author | Greg Ercolano <erco@seriss.com> | 2011-02-01 01:06:27 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2011-02-01 01:06:27 +0000 |
| commit | 9510d1d52b0bdf3ba8665571eedc42202dc546c7 (patch) | |
| tree | 4da9b6d85a94197ce22143d0fe9a89d4fea692f4 /src/fl_utf.c | |
| parent | 5759f3151f45a139266b956b7a879fdae08ec4c7 (diff) | |
Fixes to help build on SGI.
Mainly: problem with C++ style comments that were in C code and headers.
SGI C compiler / pre processor no grok C++ comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_utf.c')
| -rw-r--r-- | src/fl_utf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fl_utf.c b/src/fl_utf.c index fbfc779f9..d18a6a38d 100644 --- a/src/fl_utf.c +++ b/src/fl_utf.c @@ -124,10 +124,10 @@ static unsigned short cp1252[32] = { unexpectedly 1 will work: \code - if (*p & 0x80) { // what should be a multibyte encoding + if (*p & 0x80) { // what should be a multibyte encoding code = fl_utf8decode(p,end,&len); - if (len<2) code = 0xFFFD; // Turn errors into REPLACEMENT CHARACTER - } else { // handle the 1-byte utf8 encoding: + if (len<2) code = 0xFFFD; // Turn errors into REPLACEMENT CHARACTER + } else { // handle the 1-byte utf8 encoding: code = *p; len = 1; } |
