diff options
author | Bram Moolenaar <bram@vim.org> | 2012-06-06 16:29:10 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2012-06-06 16:29:10 +0200 |
commit | 62d4af83fcf65e14f8416b8e7083b541bb053e34 (patch) | |
tree | 7601b70b46bc14bab8690d8cd6ab5f9a3d0c4e1e | |
parent | 934f1295815699310614b024c680ed15f54d9c04 (diff) | |
download | vim-7.3.543.tar.gz |
Problem: The cursor is in the wrong line after using ":copen". (John
Beckett)
Solution: Invoke more drastic redraw method.
-rw-r--r-- | src/eval.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -18507,9 +18507,7 @@ f_winrestview(argvars, rettv) curwin->w_skipcol = get_dict_number(dict, (char_u *)"skipcol"); check_cursor(); - changed_cline_bef_curs(); - invalidate_botline(); - redraw_later(VALID); + changed_window_setting(); if (curwin->w_topline == 0) curwin->w_topline = 1; diff --git a/src/version.c b/src/version.c index 73bf3eed..9a573a0a 100644 --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 543, +/**/ 542, /**/ 541, |