tweaks: remove a check that was made redundant by the previous commit

The previous commit also fixes https://savannah.gnu.org/bugs/?54650,
so the change that was made to address that bug can be removed.
master
Benno Schulenberg 2018-10-12 12:17:15 +02:00
parent 6b08648377
commit b167444ee8
1 changed files with 1 additions and 5 deletions

View File

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