summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-07-07 15:08:58 +0200
committerBram Moolenaar <Bram@vim.org>2011-07-07 15:08:58 +0200
commit03a807aaf45e5f85a10cd3b0c4e4913d170f8f5a (patch)
tree2a1889c39ffc1fcb52dd2950e9327fec7ee01648 /src/normal.c
parent5cfe2d760db119718287ad3d4ee11d6914ceee58 (diff)
downloadvim-git-03a807aaf45e5f85a10cd3b0c4e4913d170f8f5a.tar.gz
updated for version 7.3.239v7.3.239
Problem: Python corrects the cursor column without taking 'virtualedit' into account. (lilydjwg) Solution: Call check_cursor_col_win().
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index bd6f1f239..522480fc4 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -8774,7 +8774,7 @@ unadjust_for_sel()
{
--pp->col;
#ifdef FEAT_MBYTE
- mb_adjustpos(pp);
+ mb_adjustpos(curbuf, pp);
#endif
}
else if (pp->lnum > 1)