summaryrefslogtreecommitdiffstats
path: root/src/ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ops.c')
-rw-r--r--src/ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ops.c b/src/ops.c
index f53567bc10..62d88a786a 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -5584,6 +5584,7 @@ do_addsub(command, Prenum1, g_cmd)
did_change = TRUE;
(void)del_char(FALSE);
ins_char(firstdigit);
+ curwin->w_cursor.col = col;
}
else
{