commit | 742d1ecd17422afaad75acc016392073c25ef4f6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Dec 31 12:18:30 2009 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Dec 31 12:18:30 2009 +0000 |
tree | 918ce7d3a4e400e918ff7f85c13f1560d1bfdb8b | |
parent | 281daf62aac8b40d1c6cccfb57535c5a1ac1f5db [diff] [blame] |
updated for version 7.2-324
diff --git a/src/misc2.c b/src/misc2.c index e157aae..949d7e2 100644 --- a/src/misc2.c +++ b/src/misc2.c
@@ -528,6 +528,8 @@ #endif } } + else if (curwin->w_cursor.col < 0) + curwin->w_cursor.col = 0; #ifdef FEAT_VIRTUALEDIT /* If virtual editing is on, we can leave the cursor on the old position,