diff options
author | nyamatongwe <devnull@localhost> | 2005-12-02 00:46:40 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2005-12-02 00:46:40 +0000 |
commit | ef2b3a6b37ab15b893ea809f041d78e12797e69f (patch) | |
tree | f2e25f2d26921a5de70b5f5b6153c89826f469a2 | |
parent | 83bb994a8224e7522ce1a7879c3b1c45f0358d26 (diff) | |
download | scintilla-mirror-ef2b3a6b37ab15b893ea809f041d78e12797e69f.tar.gz |
Using isascii rather than < 0x80 as argument char, not int.
-rw-r--r-- | src/LexHTML.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx index a268c2b0d..d830a4643 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -1308,7 +1308,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty case SCE_HJ_REGEX: if (ch == '\r' || ch == '\n' || ch == '/') { if (ch == '/') { - while (chNext < 0x80 && islower(chNext)) { // gobble regex flags + while (isascii(chNext) && islower(chNext)) { // gobble regex flags i++; ch = chNext; chNext = styler.SafeGetCharAt(i + 1); |