summaryrefslogtreecommitdiffstats
path: root/src/ops.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-09 20:09:23 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-09 20:09:23 +0100
commit6ed545e79735f23ff8e650bc2f0967e5a0baedc9 (patch)
tree1c77e4b188c34d68e91c5c93e62c668ce51ffc2f /src/ops.c
parent921bde88804663a7cb825d7f7e8a5d8ae6b58650 (diff)
patch 8.2.4928: various white space and cosmetic mistakesv8.2.4928
Problem: Various white space and cosmetic mistakes. Solution: Change spaces to tabs, improve comments.
Diffstat (limited to 'src/ops.c')
-rw-r--r--src/ops.c6
1 files changed, 3 insertions, 3 deletions
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;