aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-06-25 13:58:48 +0200
committerGitHub <noreply@github.com>2019-06-25 13:58:48 +0200
commit027ebb23da0868655413e1850eb0b7d77e223850 (patch)
tree00f72b89d9cb19284539476a8cb41be7ca16191a /src/nvim/ops.c
parent615fc6826359b4171fbb40ea34ba7ddf29bea045 (diff)
parentace7e4e11ba18b769aa028d73808b9405ec5e437 (diff)
downloadrneovim-027ebb23da0868655413e1850eb0b7d77e223850.tar.gz
rneovim-027ebb23da0868655413e1850eb0b7d77e223850.tar.bz2
rneovim-027ebb23da0868655413e1850eb0b7d77e223850.zip
Merge #10329 from janlazo/vim-8.1.0437
vim-patch:8.0.1535,8.1.{198,437,1342}
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r--src/nvim/ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index b5408fab9a..b96e075f66 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -3749,7 +3749,7 @@ int do_join(size_t count,
if (setmark) {
// Set the '] mark.
curwin->w_buffer->b_op_end.lnum = curwin->w_cursor.lnum;
- curwin->w_buffer->b_op_end.col = (colnr_T)STRLEN(newp);
+ curwin->w_buffer->b_op_end.col = sumsize;
}
/* Only report the change in the first line here, del_lines() will report