build: fix compilation when configured with --enable-tiny

master
Benno Schulenberg 2020-08-11 19:58:04 +02:00
parent 100747f56b
commit e597ad4908
1 changed files with 2 additions and 1 deletions

View File

@ -1400,12 +1400,13 @@ int *parse_verbatim_kbinput(WINDOW *win, size_t *count)
linger_after_escape = FALSE; linger_after_escape = FALSE;
#ifndef NANO_TINY
if (keycode == KEY_WINCH) { if (keycode == KEY_WINCH) {
*count = 999; *count = 999;
free(yield); free(yield);
return NULL; return NULL;
} }
#endif
/* For an invalid digit, discard its possible continuation bytes. */ /* For an invalid digit, discard its possible continuation bytes. */
if (unicode == INVALID_DIGIT) { if (unicode == INVALID_DIGIT) {
if (keycode == ESC_CODE) { if (keycode == ESC_CODE) {