diff --git a/src/prompt.c b/src/prompt.c
index 8a3aa8fc576cf5b3ea3eef2eb15b8371243356e8..f025c770c8e09867bf54f9e75463ef698b935846 100644
--- a/src/prompt.c
+++ b/src/prompt.c
@@ -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;
 		}