diff options
Diffstat (limited to 'src/LexLisp.cxx')
-rw-r--r-- | src/LexLisp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexLisp.cxx b/src/LexLisp.cxx index e1d06cbac..ad5535f14 100644 --- a/src/LexLisp.cxx +++ b/src/LexLisp.cxx @@ -139,7 +139,7 @@ static void ColouriseLispDoc(unsigned int startPos, int length, int initStyle, W } } } else if (state == SCE_LISP_MACRO_DISPATCH) { - if (!isdigit(ch)) { + if (!(isascii(ch) && isdigit(ch))) { if (ch != 'r' && ch != 'R' && (i - styler.GetStartSegment()) > 1) { state = SCE_LISP_DEFAULT; } else { |