fix adapt_for_linewise for Replace mode

This commit is contained in:
Maxime Coste 2012-10-29 19:00:28 +01:00
parent cc876f7107
commit 6f2c69a0eb

View File

@ -172,6 +172,8 @@ static InsertMode adapt_for_linewise(InsertMode mode)
return InsertMode::AppendAtLineEnd;
if (mode == InsertMode::Insert)
return InsertMode::InsertAtLineBegin;
if (mode == InsertMode::Replace)
return InsertMode::Replace;
assert(false);
return InsertMode::Insert;