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:
parent
08d62246af
commit
f62fa46736
@ -209,13 +209,13 @@ style_parse(const char *text,
|
|||||||
continue;
|
continue;
|
||||||
} else if (*text == '\"') {
|
} else if (*text == '\"') {
|
||||||
current = 'D';
|
current = 'D';
|
||||||
} else if (!last && (islower(*text) || *text == '_')) {
|
} else if (!last && (islower((*text)&255) || *text == '_')) {
|
||||||
// Might be a keyword...
|
// Might be a keyword...
|
||||||
for (temp = text, bufptr = buf;
|
for (temp = text, bufptr = buf;
|
||||||
(islower(*temp) || *temp == '_') && bufptr < (buf + sizeof(buf) - 1);
|
(islower((*temp)&255) || *temp == '_') && bufptr < (buf + sizeof(buf) - 1);
|
||||||
*bufptr++ = *temp++);
|
*bufptr++ = *temp++);
|
||||||
|
|
||||||
if (!islower(*temp) && *temp != '_') {
|
if (!islower((*temp)&255) && *temp != '_') {
|
||||||
*bufptr = '\0';
|
*bufptr = '\0';
|
||||||
|
|
||||||
bufptr = buf;
|
bufptr = buf;
|
||||||
@ -284,7 +284,7 @@ style_parse(const char *text,
|
|||||||
else *style++ = current;
|
else *style++ = current;
|
||||||
col ++;
|
col ++;
|
||||||
|
|
||||||
last = isalnum(*text) || *text == '_' || *text == '.';
|
last = isalnum((*text)&255) || *text == '_' || *text == '.';
|
||||||
|
|
||||||
if (*text == '\n') {
|
if (*text == '\n') {
|
||||||
// Reset column and possibly reset the style
|
// Reset column and possibly reset the style
|
||||||
|
Loading…
Reference in New Issue
Block a user