commit | b5bf5b8fae9ff5e2f7704686efae2814be1e18f7 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Dec 24 14:35:23 2004 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Dec 24 14:35:23 2004 +0000 |
tree | fcaa6e0f52dfd691d0c4796d34e402d46ce7c293 | |
parent | 1cd871b5341bf43ee99e136844e3131014880f92 [diff] [blame] |
updated for version 7.0024
diff --git a/src/normal.c b/src/normal.c index 83759b7..9d0d8a9 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -7342,7 +7342,11 @@ { i = curwin->w_leftcol + W_WIDTH(curwin) - col_off - 1; coladvance((colnr_T)i); - curwin->w_set_curswant = TRUE; + + /* Make sure we stick in this column. */ + validate_virtcol(); + curwin->w_curswant = curwin->w_virtcol; + curwin->w_set_curswant = FALSE; } } break;