aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexHTML.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexHTML.cxx')
-rw-r--r--src/LexHTML.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx
index 8011da39f..4fe96f0bb 100644
--- a/src/LexHTML.cxx
+++ b/src/LexHTML.cxx
@@ -364,7 +364,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty
continue;
}
- if (fold && !isspace(ch))
+ if (fold && !isspacechar(ch))
visibleChars++;
// handle script folding