From ab984db2969c3f522eb4da694a954cbe6cec7797 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 6 Jun 2012 16:29:10 +0200 Subject: [PATCH] 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. --- src/eval.c | 4 +--- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/eval.c b/src/eval.c index 2dd36b012a..b0e4b31fa2 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 73bf3eed40..9a573a0a69 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 543, /**/ 542, /**/ -- 2.47.3