summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-10-07 21:41:32 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2016-10-07 21:41:32 +0200
commit44f114fc3b8477410e24cf3e5fd5a8155e922a9b (patch)
tree4b31301f9a8ec957534a737cef05a94d413e69fc
parent6edf3d945e50083b75c9cc9cf498d9c25c8d1dd1 (diff)
downloadnncmpp-44f114fc3b8477410e24cf3e5fd5a8155e922a9b.tar.gz
nncmpp-44f114fc3b8477410e24cf3e5fd5a8155e922a9b.tar.xz
nncmpp-44f114fc3b8477410e24cf3e5fd5a8155e922a9b.zip
Omitted part of the beeping commit
-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 -----------------------------------------------------------------