aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 92824e3..ac706ae 100644
--- a/input.c
+++ b/input.c
@@ -263,7 +263,7 @@ key(char c)
case '8':
case '9':
v -= '0';
- if (v >= base || iptr == MAXIN-1)
+ if (v > base || iptr == MAXIN-1)
bell();
else
{