summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-03-26 19:50:51 +1100
committerMaxime Coste <mawww@kakoune.org>2018-03-26 19:50:51 +1100
commit253790be515d9d742774b94f8ed80029571f7591 (patch)
tree5606c6a894e22748dbb1466ae1e0b35c6fd1bf92 /src/input_handler.cc
parent5ba27c18a497e6b56d6613773a9e845cb3ba0c03 (diff)
Formatting fix
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index ffa923b1..210b0ec9 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -1005,9 +1005,9 @@ private:
void history_push(History& history, StringView entry)
{
- if(entry.empty() or
- (m_flags & PromptFlags::DropHistoryEntriesWithBlankPrefix and
- is_horizontal_blank(entry[0_byte])))
+ if (entry.empty() or
+ (m_flags & PromptFlags::DropHistoryEntriesWithBlankPrefix and
+ is_horizontal_blank(entry[0_byte])))
return;
history.erase(std::remove(history.begin(), history.end(), entry),