Manually zero out deleted_bytes2 when substituting and joining lines

This commit is contained in:
chentau
2021-06-11 00:41:54 -07:00
parent 1df8a34a7b
commit 1c962401a1
3 changed files with 36 additions and 0 deletions

View File

@@ -3977,6 +3977,7 @@ int do_join(size_t count,
del_lines((long)count - 1, false);
curwin->w_cursor.lnum = t;
curbuf_splice_pending--;
curbuf->deleted_bytes2 = 0;
/*
* Set the cursor column: