aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexMagik.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexMagik.cxx')
-rw-r--r--src/LexMagik.cxx2
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));
}
/**