Fixes to VisualC6 project setup

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2010-05-02 21:12:55 +00:00
parent 08d62246af
commit f62fa46736

View File

@ -209,13 +209,13 @@ style_parse(const char *text,
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 @@ style_parse(const char *text,
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