diff src/normal.c @ 2933:0bef86c5c985 v7.3.239

updated for version 7.3.239 Problem: Python corrects the cursor column without taking 'virtualedit' into account. (lilydjwg) Solution: Call check_cursor_col_win().
author Bram Moolenaar <bram@vim.org>
date Thu, 07 Jul 2011 15:08:58 +0200
parents c6df8554b39d
children fe6ad3fd8532
line wrap: on
line diff
--- 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)