diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-12-31 12:18:30 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-12-31 12:18:30 +0000 |
commit | 742d1ecd17422afaad75acc016392073c25ef4f6 (patch) | |
tree | 918ce7d3a4e400e918ff7f85c13f1560d1bfdb8b /src/misc2.c | |
parent | 281daf62aac8b40d1c6cccfb57535c5a1ac1f5db (diff) | |
download | vim-git-742d1ecd17422afaad75acc016392073c25ef4f6.tar.gz |
updated for version 7.2-324v7.2.324
Diffstat (limited to 'src/misc2.c')
-rw-r--r-- | src/misc2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc2.c b/src/misc2.c index e157aae9e..949d7e21a 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -528,6 +528,8 @@ check_cursor_col() #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, |