diff options
author | nyamatongwe <unknown> | 2005-12-02 00:46:40 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2005-12-02 00:46:40 +0000 |
commit | 213e8329f708383a41dc17bcabf17033f006e06d (patch) | |
tree | f2e25f2d26921a5de70b5f5b6153c89826f469a2 /src/LexHTML.cxx | |
parent | ed21e9ef1a1454459034e511cce06a3085ab7a91 (diff) | |
download | scintilla-mirror-213e8329f708383a41dc17bcabf17033f006e06d.tar.gz |
Using isascii rather than < 0x80 as argument char, not int.
Diffstat (limited to 'src/LexHTML.cxx')
-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); |