tweaks: remove another superfluous check

Commit bb667beb removed do_gotolinecolumn_void() from the MWHEREIS
menu (replacing it with the empty flip_goto() function), so there
is no longer any need to check for this one special case.
master
Benno Schulenberg 2018-02-24 19:57:56 +01:00
parent a95fb64dd6
commit 65bf04060b
1 changed files with 1 additions and 2 deletions

View File

@ -169,8 +169,7 @@ int do_statusbar_input(bool *finished)
* to TRUE to indicate that we're done after running or trying to
* run its associated function. */
f = sctofunc(shortcut);
if (f && (!ISSET(VIEW_MODE) || f->viewok) &&
f->func != do_gotolinecolumn_void)
if (f && (!ISSET(VIEW_MODE) || f->viewok))
execute(shortcut);
*finished = TRUE;
}