Omitted part of the beeping commit

This commit is contained in:
Přemysl Eric Janouch 2016-10-07 21:41:32 +02:00
parent 6edf3d945e
commit 44f114fc3b
Signed by: p
GPG Key ID: B715679E3A361BE6
1 changed files with 3 additions and 4 deletions

View File

@ -1531,11 +1531,10 @@ app_process_termo_event (termo_key_t *event)
&& event->code.codepoint <= '9') && event->code.codepoint <= '9')
{ {
int n = event->code.codepoint - '0'; int n = event->code.codepoint - '0';
if (!app_goto_tab ((n == 0 ? 10 : n) - 1)) if (app_goto_tab ((n == 0 ? 10 : n) - 1))
beep (); return true;
return true;
} }
return true; return false;
} }
// --- Streams ----------------------------------------------------------------- // --- Streams -----------------------------------------------------------------