aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-08-06 22:32:09 +0000
committernyamatongwe <devnull@localhost>2009-08-06 22:32:09 +0000
commit0d8abb2e4edf2a81898855d2869b16b20ad62143 (patch)
tree55cace58ec2e03e419445f9d093211014ae2e7ef
parentf12ec17a5aee5dfd405f2533eb2e08a463c12405 (diff)
downloadscintilla-mirror-0d8abb2e4edf2a81898855d2869b16b20ad62143.tar.gz
Better fix to recognising numbers.
-rw-r--r--src/LexMagik.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexMagik.cxx b/src/LexMagik.cxx
index 6f03350e7..c6f6585b3 100644
--- a/src/LexMagik.cxx
+++ b/src/LexMagik.cxx
@@ -62,7 +62,7 @@ static inline bool IsAlphaSym(int ch) {
* \return True if ch is a character, False otherwise
*/
static inline bool IsAlNum(int ch) {
- return ((ch >= '0' && ch < '9') || IsAlpha(ch));
+ return ((ch >= '0' && ch <= '9') || IsAlpha(ch));
}
/**