Omitted part of the beeping commit
This commit is contained in:
parent
6edf3d945e
commit
44f114fc3b
7
nncmpp.c
7
nncmpp.c
@ -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 -----------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user