aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/extmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/extmark.c')
-rw-r--r--src/nvim/extmark.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nvim/extmark.c b/src/nvim/extmark.c
index c9b1c72828..91ca525533 100644
--- a/src/nvim/extmark.c
+++ b/src/nvim/extmark.c
@@ -552,6 +552,7 @@ void extmark_adjust(buf_T *buf,
}
}
+
void extmark_splice(buf_T *buf,
int start_row, colnr_T start_col,
int oldextent_row, colnr_T oldextent_col,
@@ -631,12 +632,10 @@ void extmark_splice(buf_T *buf,
void extmark_splice_cols(buf_T *buf,
int start_row, colnr_T start_col,
- colnr_T old_col, colnr_T new_col,
+ colnr_T oldextent, colnr_T newextent,
ExtmarkOp undo)
{
- extmark_splice(buf, start_row, start_col,
- 0, old_col,
- 0, new_col, undo);
+ extmark_splice(buf, start_row, start_col, 0, oldextent, 0, newextent, undo);
}
void extmark_move_region(buf_T *buf,