summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/vi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/vi.c b/editors/vi.c
index eb0aa33..6f739a7 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -3517,6 +3517,7 @@ key_cmd_mode:
dot_end(); // move to NL
if (dot < end - 1) { // make sure not last char in text[]
*dot++ = ' '; // replace NL with space
+ file_modified = TRUE;
while (isblnk(*dot)) { // delete leading WS
dot_delete();
}