diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-07-29 20:59:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-29 20:59:38 +0200 |
| commit | bae02eb3968be1c9677283d030fbbe6dd02cb180 (patch) | |
| tree | 826839463784f5464c8b4203eafc1c0d98205b91 /src/nvim/ops.c | |
| parent | 6e03f87e0991b5b0dfffa79ae580b87e40468da1 (diff) | |
| parent | d6b31721bfadabf5eaa817321706d403ecfbf805 (diff) | |
| download | rneovim-bae02eb3968be1c9677283d030fbbe6dd02cb180.tar.gz rneovim-bae02eb3968be1c9677283d030fbbe6dd02cb180.tar.bz2 rneovim-bae02eb3968be1c9677283d030fbbe6dd02cb180.zip | |
Merge #10645 from janlazo/vim-8.1.0999
vim-patch:8.1.{1005,1041,1049,1052,1053,1086,1394}
Diffstat (limited to 'src/nvim/ops.c')
| -rw-r--r-- | src/nvim/ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 6709e52679..35ab9c4d84 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -2519,9 +2519,9 @@ static void op_yank_reg(oparg_T *oap, bool message, yankreg_T *reg, bool append) endcol = (colnr_T)STRLEN(p); if (startcol > endcol || is_oneChar - ) + ) { bd.textlen = 0; - else { + } else { bd.textlen = endcol - startcol + oap->inclusive; } bd.textstart = p + startcol; |