Commit 2dffcf10 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tweaks: fix compilation with --disable-histories

No related merge requests found
Showing with 4 additions and 1 deletion
+4 -1
......@@ -518,10 +518,13 @@ functionptrtype acquire_an_answer(int *actual, bool allow_tabs,
if (kbinput == KEY_WINCH) {
refresh_func();
*actual = KEY_WINCH;
#ifndef DISABLE_HISTORIES
free(magichistory);
#endif
return NULL;
}
#endif
#endif /* !NANO_TINY */
func = func_from_key(&kbinput);
if (func == do_cancel || func == do_enter)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment