From ef2b3a6b37ab15b893ea809f041d78e12797e69f Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 2 Dec 2005 00:46:40 +0000 Subject: Using isascii rather than < 0x80 as argument char, not int. --- src/LexHTML.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3