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
parent
6b08648377
commit
b167444ee8
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue