aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
authorZviRackover <zvirack@gmail.com>2018-08-16 05:09:21 +0300
committerZviRackover <zvirack@gmail.com>2018-08-16 07:39:48 +0300
commitd110c6d7907d6f27f32b1d2bd91ffee7ef6097f4 (patch)
tree4e6700226b395f2cea6c172497a01eacbdca6b7d /src/nvim/ops.c
parent30392b635689a5f25421c17ead79e521863c8b57 (diff)
downloadrneovim-d110c6d7907d6f27f32b1d2bd91ffee7ef6097f4.tar.gz
rneovim-d110c6d7907d6f27f32b1d2bd91ffee7ef6097f4.tar.bz2
rneovim-d110c6d7907d6f27f32b1d2bd91ffee7ef6097f4.zip
lint: cleanup after parent commits
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r--src/nvim/ops.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index dbdab4026d..a3fd6e11fd 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -2432,11 +2432,10 @@ static void op_yank_reg(oparg_T *oap, bool message, yankreg_T *reg, bool append)
if (virtual_op) {
getvcol(curwin, &oap->end, &cs, NULL, &ce);
if (p[endcol] == NUL || (cs + oap->end.coladd < ce
- /* Don't add space for double-wide
- * char; endcol will be on last byte
- * of multi-byte char. */
- && utf_head_off(p, p + endcol) == 0
- )) {
+ // Don't add space for double-wide
+ // char; endcol will be on last byte
+ // of multi-byte char.
+ && utf_head_off(p, p + endcol) == 0)) {
if (oap->start.lnum == oap->end.lnum
&& oap->start.col == oap->end.col) {
/* Special case: inside a single char */