Formatting fix

This commit is contained in:
Maxime Coste 2018-03-26 19:50:51 +11:00
parent 5ba27c18a4
commit 253790be51

View File

@ -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),