diff options
Diffstat (limited to 'src/LexBash.cxx')
-rw-r--r-- | src/LexBash.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexBash.cxx b/src/LexBash.cxx index f0376b947..0797e68a9 100644 --- a/src/LexBash.cxx +++ b/src/LexBash.cxx @@ -273,7 +273,7 @@ static void ColouriseBashDoc(unsigned int startPos, int length, int initStyle, ch = chNext; chNext = chNext2; styler.ColourTo(i, SCE_SH_IDENTIFIER); - } else if (isdigit(ch)) { + } else if (isascii(ch) && isdigit(ch)) { state = SCE_SH_NUMBER; numBase = BASH_BASE_DECIMAL; if (ch == '0') { // hex,octal |