Commit 68cfb088 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tweaks: fix compilation with --enable-tiny

No related merge requests found
Showing with 2 additions and 0 deletions
+2 -0
......@@ -1399,12 +1399,14 @@ int *parse_verbatim_kbinput(WINDOW *win, size_t *kbinput_len)
while ((kbinput = get_input(win, 1)) == NULL)
;
#ifndef NANO_TINY
/* When the window was resized, abort and return nothing. */
if (*kbinput == KEY_WINCH) {
*kbinput_len = 0;
free(kbinput);
return NULL;
}
#endif
#ifdef ENABLE_UTF8
if (using_utf8()) {
......
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