diff options
| -rw-r--r-- | std/stdlib.src | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/stdlib.src b/std/stdlib.src index e370446..fa90707 100644 --- a/std/stdlib.src +++ b/std/stdlib.src @@ -32,8 +32,8 @@ let strcmp = (stra: *i8, strb: *i8) => bool { }; let isdigit = (c: i8) => bool { - if c > '0' { - if c < '9' { + if c >= '0' { + if c <= '9' { return true; }; }; |