diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-05-09 20:09:23 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-09 20:09:23 +0100 |
commit | 6ed545e79735f23ff8e650bc2f0967e5a0baedc9 (patch) | |
tree | 1c77e4b188c34d68e91c5c93e62c668ce51ffc2f /src/ops.c | |
parent | 921bde88804663a7cb825d7f7e8a5d8ae6b58650 (diff) | |
download | vim-git-6ed545e79735f23ff8e650bc2f0967e5a0baedc9.tar.gz |
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |