summaryrefslogtreecommitdiff
path: root/src/normal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.cc')
-rw-r--r--src/normal.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/normal.cc b/src/normal.cc
index e6e101e7..0b50195d 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -251,8 +251,8 @@ void command(Context& context, int)
":", get_color("Prompt"),
std::bind(&CommandManager::complete, &CommandManager::instance(), _1, _2, _3, _4),
[](const String& cmdline, PromptEvent event, Context& context) {
- if (event == PromptEvent::Validate)
- CommandManager::instance().execute(cmdline, context);
+ if (event == PromptEvent::Validate)
+ CommandManager::instance().execute(cmdline, context);
});
}