summaryrefslogtreecommitdiff
path: root/nncmpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'nncmpp.c')
-rw-r--r--nncmpp.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/nncmpp.c b/nncmpp.c
index 2b7eabd..96d447a 100644
--- a/nncmpp.c
+++ b/nncmpp.c
@@ -1531,11 +1531,10 @@ app_process_termo_event (termo_key_t *event)
&& event->code.codepoint <= '9')
{
int n = event->code.codepoint - '0';
- if (!app_goto_tab ((n == 0 ? 10 : n) - 1))
- beep ();
- return true;
+ if (app_goto_tab ((n == 0 ? 10 : n) - 1))
+ return true;
}
- return true;
+ return false;
}
// --- Streams -----------------------------------------------------------------