From: Bram Moolenaar Date: Wed, 6 Jun 2012 14:29:10 +0000 (+0200) Subject: updated for version 7.3.543 X-Git-Tag: v7.3.543 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab984db2969c3f522eb4da694a954cbe6cec7797;p=thirdparty%2Fvim.git 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 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, /**/