aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexPascal.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexPascal.cxx')
-rw-r--r--src/LexPascal.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexPascal.cxx b/src/LexPascal.cxx
index d9227df99..ee568c77f 100644
--- a/src/LexPascal.cxx
+++ b/src/LexPascal.cxx
@@ -84,7 +84,7 @@ static void ColourisePascalDoc(unsigned int startPos, int length, int initStyle,
}
visibleChars = 0;
}
- if (!isspace(ch))
+ if (!isspacechar(ch))
visibleChars++;
if (styler.IsLeadByte(ch)) {