From ac08e32bb36a0d165d55c6420d8fee33e6108065 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Sat, 28 Sep 2013 01:22:07 +0200 Subject: [PATCH] Simplified a function a little. --- src/normal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/normal.c b/src/normal.c index af0b4e9..fffa101 100644 --- a/src/normal.c +++ b/src/normal.c @@ -333,16 +333,14 @@ static VbResult normal_descent(const NormalCmdInfo *info) static VbResult normal_ex(const NormalCmdInfo *info) { + mode_enter('c'); if (info->cmd == 'F') { - mode_enter('c'); vb_set_input_text(";t"); } else if (info->cmd == 'f') { - mode_enter('c'); vb_set_input_text(";o"); } else { char prompt[2] = {info->cmd, '\0'}; vb_set_input_text(prompt); - mode_enter('c'); } return RESULT_COMPLETE; -- 2.20.1