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

Reported-by: Jordi Mallach <jordi@mallach.net>
master
Benno Schulenberg 2018-09-19 20:36:39 +02:00
parent ce94cb1dc6
commit 368ec04870
1 changed files with 4 additions and 1 deletions

View File

@ -1756,7 +1756,10 @@ int do_input(bool allow_funcs)
if (shortcut == NULL)
pletion_line = NULL;
else {
if (ISSET(VIEW_MODE) && shortcut->func != do_toggle_void &&
if (ISSET(VIEW_MODE) &&
#ifndef NANO_TINY
shortcut->func != do_toggle_void &&
#endif
!okay_for_view(shortcut)) {
print_view_warning();
return ERR;