Mercurial > vim
changeset 3566:ce7bd50bafa7 v7.3.543
updated for version 7.3.543
Problem: The cursor is in the wrong line after using ":copen". (John
Beckett)
Solution: Invoke more drastic redraw method.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 06 Jun 2012 16:29:10 +0200 |
parents | 9119f96e7294 |
children | deb39ae6bf9c |
files | src/eval.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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;