From 6ed545e79735f23ff8e650bc2f0967e5a0baedc9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 9 May 2022 20:09:23 +0100 Subject: patch 8.2.4928: various white space and cosmetic mistakes Problem: Various white space and cosmetic mistakes. Solution: Change spaces to tabs, improve comments. --- src/ops.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ops.c') diff --git a/src/ops.c b/src/ops.c index 5137bbbcdb..3940e484ce 100644 --- a/src/ops.c +++ b/src/ops.c @@ -625,7 +625,7 @@ op_delete(oparg_T *oap) if (VIsual_select && oap->is_VIsual) // use register given with CTRL_R, defaults to zero - oap->regname = VIsual_select_reg; + oap->regname = VIsual_select_reg; #ifdef FEAT_CLIPBOARD adjust_clip_reg(&oap->regname); @@ -1208,9 +1208,9 @@ op_replace(oparg_T *oap, int c) curwin->w_cursor.col -= (virtcols + 1); for (; virtcols >= 0; virtcols--) { - if ((*mb_char2len)(c) > 1) + if ((*mb_char2len)(c) > 1) replace_character(c); - else + else PBYTE(curwin->w_cursor, c); if (inc(&curwin->w_cursor) == -1) break; -- cgit v1.2.3