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)
|
if (shortcut == NULL)
|
||||||
pletion_line = NULL;
|
pletion_line = NULL;
|
||||||
else {
|
else {
|
||||||
if (ISSET(VIEW_MODE) &&
|
if (ISSET(VIEW_MODE) && !okay_for_view(shortcut)) {
|
||||||
#ifndef NANO_TINY
|
|
||||||
shortcut->func != do_toggle_void &&
|
|
||||||
#endif
|
|
||||||
!okay_for_view(shortcut)) {
|
|
||||||
print_view_warning();
|
print_view_warning();
|
||||||
return ERR;
|
return ERR;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue