aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/input.c b/input.c
index 26a5266..90b6232 100644
--- a/input.c
+++ b/input.c
@@ -83,8 +83,9 @@ show_value()
if(fetestexcept(FE_ALL_EXCEPT)) {
set_string("Err");
+ bell();
showing_err = 1;
- return;
+ return;
}
if (base == 2)
@@ -236,8 +237,10 @@ key(char c)
feclearexcept(FE_ALL_EXCEPT);
- if(showing_err && c != 27 && c != 'C')
+ if(showing_err && c != 27 && c != 'C') {
+ bell();
return;
+ }
switch (c)
{