rcfile: demand that function 'exit' is bound in the file browser
For symmetry with the help viewer. Even though the user could still exit with the bare Q, E, or X keys, these are not listed in the help text, so they don't really count.
Этот коммит содержится в:
родитель
4e8afb2877
Коммит
011e8de480
@ -1281,9 +1281,9 @@ static void check_vitals_mapped(void)
|
||||
{
|
||||
funcstruct *f;
|
||||
int v;
|
||||
#define VITALS 3
|
||||
void (*vitals[VITALS])(void) = { do_exit, do_exit, do_cancel };
|
||||
int inmenus[VITALS] = { MMAIN, MHELP, MYESNO };
|
||||
#define VITALS 4
|
||||
void (*vitals[VITALS])(void) = { do_exit, do_exit, do_exit, do_cancel };
|
||||
int inmenus[VITALS] = { MMAIN, MBROWSER, MHELP, MYESNO };
|
||||
|
||||
for (v = 0; v < VITALS; v++) {
|
||||
for (f = allfuncs; f != NULL; f = f->next) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user