# HG changeset patch # User Bram Moolenaar # Date 1338992950 -7200 # Node ID ce7bd50bafa74f4da979f27c4e5fa9a47e69d739 # Parent 9119f96e72949d54434039956eb175f5026d2a2b 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. diff --git a/src/eval.c b/src/eval.c --- 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 --- 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,