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 | ab984db2969c3f522eb4da694a954cbe6cec7797 (patch) | |
tree | ae13117b636e0f0fda0ca9c33c9275acc7dcf6ba | |
parent | 08bc274e88b32848b592d34600d51c8784357f3e (diff) | |
download | vim-git-7.3.543.tar.gz |
updated for version 7.3.543v7.3.543
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
diff --git a/src/eval.c b/src/eval.c index 2dd36b012..b0e4b31fa 100644 --- a/src/eval.c +++ b/src/eval.c @@ -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 73bf3eed4..9a573a0a6 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, |