aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexBullant.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexBullant.cxx')
-rw-r--r--src/LexBullant.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexBullant.cxx b/src/LexBullant.cxx
index d40e50bde..28e2e7543 100644
--- a/src/LexBullant.cxx
+++ b/src/LexBullant.cxx
@@ -112,7 +112,7 @@ static void ColouriseBullantDoc(unsigned int startPos, int length, int initStyle
}
blockChange=0;
*/ }
- if (!isspace(ch))
+ if (!(isascii(ch) && isspace(ch)))
visibleChars++;
if (styler.IsLeadByte(ch)) {