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/xutf8/utils | |
| 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/xutf8/utils')
| -rw-r--r-- | src/xutf8/utils/convert_map.c | 2 | ||||
| -rw-r--r-- | src/xutf8/utils/euc_tw.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/xutf8/utils/convert_map.c b/src/xutf8/utils/convert_map.c index 6e9c6492a..fb68469a5 100644 --- a/src/xutf8/utils/convert_map.c +++ b/src/xutf8/utils/convert_map.c @@ -105,7 +105,7 @@ int JIS0212(unsigned char * ptr) { ptr += 7; i += 7; while(*ptr == ' ') { ptr++; i++; } - //i++; ptr++; + /* i++; ptr++; */ *(ptr+6) = '\0'; ucs = (unsigned int)strtoul(ptr, NULL, 16); if (*(ptr + 1) != 'x') { diff --git a/src/xutf8/utils/euc_tw.c b/src/xutf8/utils/euc_tw.c index 523266653..d76890888 100644 --- a/src/xutf8/utils/euc_tw.c +++ b/src/xutf8/utils/euc_tw.c @@ -54,7 +54,7 @@ int main(int argc, char **argv) { if (l2 != 6) { ucs = (unsigned)ob[0]; ucs += (unsigned) (ob[1] << 8); - //XConvertUtf8ToUcs((unsigned char*)ob, 6 - l2, &ucs); + /* XConvertUtf8ToUcs((unsigned char*)ob, 6 - l2, &ucs); */ printf ("%x --> %X\n", i, ucs & 0xFFFF); } } |
