From: Daniel Carl <danielcarl@gmx.de>
Date: Fri, 27 Sep 2013 23:22:07 +0000 (+0200)
Subject: Simplified a function a little.
X-Git-Url: https://git.owens.tech/assets/wrapped.html/assets/wrapped.html/git?a=commitdiff_plain;h=ac08e32bb36a0d165d55c6420d8fee33e6108065;p=vimb.git

Simplified a function a little.
---

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;