summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2012-06-06 16:29:10 +0200
committerBram Moolenaar <bram@vim.org>2012-06-06 16:29:10 +0200
commit62d4af83fcf65e14f8416b8e7083b541bb053e34 (patch)
tree7601b70b46bc14bab8690d8cd6ab5f9a3d0c4e1e
parent934f1295815699310614b024c680ed15f54d9c04 (diff)
downloadvim-7.3.543.tar.gz
updated for version 7.3.543v7.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.c4
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/eval.c b/src/eval.c
index 2dd36b01..b0e4b31f 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 73bf3eed..9a573a0a 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,