aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-01-04 16:17:19 -0500
committerB. Watson <urchlay@slackware.uk>2024-01-04 16:17:19 -0500
commitaafee279877e0e9762f2852a3b2bbaeb2e4661fa (patch)
treeaef79d759f2e6874fd6c47c91cf6ec441ea47e52
parent505a7c2cd5ee64e70a71dfee1c9eba3e6d1c5db1 (diff)
downloadhcalc-aafee279877e0e9762f2852a3b2bbaeb2e4661fa.tar.gz
Allow F to be input. DERP.
-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
{