diff options
author | nyamatongwe <devnull@localhost> | 2009-08-06 09:31:33 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-08-06 09:31:33 +0000 |
commit | f12ec17a5aee5dfd405f2533eb2e08a463c12405 (patch) | |
tree | 9e92347f1f9425279ee85f3d0d0fbc76ced80d56 | |
parent | f18a4f2c6ea768721b6f520a282f0235892d50e5 (diff) | |
download | scintilla-mirror-f12ec17a5aee5dfd405f2533eb2e08a463c12405.tar.gz |
Bug fixed in number recognition.
-rw-r--r-- | src/LexMagik.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexMagik.cxx b/src/LexMagik.cxx index 8ab4d0887..6f03350e7 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)); } /** |