diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2000-10-25 18:35:30 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2000-10-25 18:35:30 -0400 |
commit | 5b28849589e7577a222685852b8601a1e7568726 (patch) | |
tree | cce74bbe5bf3c32f82c79a94c22eb29ca458c6ee /WWW/Library/Implementation/HTFile.c | |
parent | c16270eee5ad3c6a3b992a9684ff8bd60e60de96 (diff) | |
download | lynx-snapshots-5b28849589e7577a222685852b8601a1e7568726.tar.gz |
snapshot of project "lynx", label v2-8-4dev_12
Diffstat (limited to 'WWW/Library/Implementation/HTFile.c')
-rw-r--r-- | WWW/Library/Implementation/HTFile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/WWW/Library/Implementation/HTFile.c b/WWW/Library/Implementation/HTFile.c index c0a44bb3..41627cdb 100644 --- a/WWW/Library/Implementation/HTFile.c +++ b/WWW/Library/Implementation/HTFile.c @@ -264,7 +264,7 @@ PRIVATE void LYListFmtParse ARGS5( if (s == end) break; start = ++s; - while (isdigit(*s) || *s == '.' || *s == '-' || *s == ' ' || + while (isdigit(UCH(*s)) || *s == '.' || *s == '-' || *s == ' ' || *s == '#' || *s == '+' || *s == '\'') s++; c = *s; /* the format char. or \0 */ @@ -1037,7 +1037,7 @@ PUBLIC HTFormat HTCharsetFormat ARGS3( */ BOOL given_is_8859 = (BOOL) (!strncmp(cp4, "iso-8859-", 9) && - isdigit((unsigned char)cp4[9])); + isdigit(UCH(cp4[9]))); BOOL given_is_8859like = (BOOL) (given_is_8859 || !strncmp(cp4, "windows-", 8) || @@ -1057,7 +1057,7 @@ PUBLIC HTFormat HTCharsetFormat ARGS3( if (given_is_8859) { cp1 = &cp4[10]; while (*cp1 && - isdigit((unsigned char)(*cp1))) + isdigit(UCH(*cp1))) cp1++; *cp1 = '\0'; } |