aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexVB.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexVB.cxx')
-rw-r--r--src/LexVB.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexVB.cxx b/src/LexVB.cxx
index 67dfa7842..34f5136a6 100644
--- a/src/LexVB.cxx
+++ b/src/LexVB.cxx
@@ -73,7 +73,7 @@ static void ColouriseVBDoc(unsigned int startPos, int length, int initStyle,
}
visibleChars = 0;
}
- if (!isspace(ch))
+ if (!isspacechar(ch))
visibleChars++;
if (state == SCE_C_DEFAULT) {