aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/normal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r--src/nvim/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index 9a1d99162f..062461c9f5 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -3043,7 +3043,7 @@ static void prep_redo_visual(cmdarg_T *cap)
AppendCharToRedobuff('$');
} else if (curbuf->b_visual.vi_end.col > curbuf->b_visual.vi_start.col) {
AppendNumberToRedobuff(curbuf->b_visual.vi_end.col -
- curbuf->b_visual.vi_start.col - 1);
+ curbuf->b_visual.vi_start.col);
AppendCharToRedobuff(' ');
}
}