aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexPascal.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-01-24 07:19:19 +0000
committernyamatongwe <unknown>2001-01-24 07:19:19 +0000
commit52aefb2ddcf90b362f24010e6efab4eb148f6a98 (patch)
tree62723ebcb6eefc3f474dd9d5c4dccaf8216416f4 /src/LexPascal.cxx
parentf62ebeccbfd8c1e9e30f7329a9294a4b57e3b453 (diff)
downloadscintilla-mirror-52aefb2ddcf90b362f24010e6efab4eb148f6a98.tar.gz
Changed isspace to isspacechar which is safe for characters >= 128.
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)) {