Author: matt
Date: 2010-05-02 14:12:55 -0700 (Sun, 02 May 2010)
New Revision: 7584
Log:
Fixes to VisualC6 project setup

Modified:
   branches/branch-1.3/test/editor.cxx

Modified: branches/branch-1.3/test/editor.cxx
===================================================================
--- branches/branch-1.3/test/editor.cxx 2010-05-02 20:55:20 UTC (rev 7583)
+++ branches/branch-1.3/test/editor.cxx 2010-05-02 21:12:55 UTC (rev 7584)
@@ -209,13 +209,13 @@
        continue;
       } else if (*text == '\"') {
         current = 'D';
-      } else if (!last && (islower(*text) || *text == '_')) {
+      } else if (!last && (islower((*text)&255) || *text == '_')) {
         // Might be a keyword...
        for (temp = text, bufptr = buf;
-            (islower(*temp) || *temp == '_') && bufptr < (buf + sizeof(buf) - 
1);
+            (islower((*temp)&255) || *temp == '_') && bufptr < (buf + 
sizeof(buf) - 1);
             *bufptr++ = *temp++);
 
-        if (!islower(*temp) && *temp != '_') {
+        if (!islower((*temp)&255) && *temp != '_') {
          *bufptr = '\0';
 
           bufptr = buf;
@@ -284,7 +284,7 @@
     else *style++ = current;
     col ++;
 
-    last = isalnum(*text) || *text == '_' || *text == '.';
+    last = isalnum((*text)&255) || *text == '_' || *text == '.';
 
     if (*text == '\n') {
       // Reset column and possibly reset the style

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to