tweaks: fix compilation with --enable-tiny
parent
4cff67fdde
commit
68cfb08888
|
@ -1399,12 +1399,14 @@ int *parse_verbatim_kbinput(WINDOW *win, size_t *kbinput_len)
|
||||||
while ((kbinput = get_input(win, 1)) == NULL)
|
while ((kbinput = get_input(win, 1)) == NULL)
|
||||||
;
|
;
|
||||||
|
|
||||||
|
#ifndef NANO_TINY
|
||||||
/* When the window was resized, abort and return nothing. */
|
/* When the window was resized, abort and return nothing. */
|
||||||
if (*kbinput == KEY_WINCH) {
|
if (*kbinput == KEY_WINCH) {
|
||||||
*kbinput_len = 0;
|
*kbinput_len = 0;
|
||||||
free(kbinput);
|
free(kbinput);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_UTF8
|
#ifdef ENABLE_UTF8
|
||||||
if (using_utf8()) {
|
if (using_utf8()) {
|
||||||
|
|
Loading…
Reference in New Issue