tweaks: fix compilation with --disable-histories
parent
96fbdfbc7d
commit
2dffcf101f
|
@ -518,10 +518,13 @@ functionptrtype acquire_an_answer(int *actual, bool allow_tabs,
|
||||||
if (kbinput == KEY_WINCH) {
|
if (kbinput == KEY_WINCH) {
|
||||||
refresh_func();
|
refresh_func();
|
||||||
*actual = KEY_WINCH;
|
*actual = KEY_WINCH;
|
||||||
|
#ifndef DISABLE_HISTORIES
|
||||||
free(magichistory);
|
free(magichistory);
|
||||||
|
#endif
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif /* !NANO_TINY */
|
||||||
|
|
||||||
func = func_from_key(&kbinput);
|
func = func_from_key(&kbinput);
|
||||||
|
|
||||||
if (func == do_cancel || func == do_enter)
|
if (func == do_cancel || func == do_enter)
|
||||||
|
|
Loading…
Reference in New Issue