Mercurial > vim
changeset 965:2bebfa810a66 v7.0.091
updated for version 7.0-091
author | vimboss |
---|---|
date | Wed, 06 Sep 2006 20:16:42 +0000 |
parents | e905716f6a3a |
children | eb800128bd89 |
files | src/eval.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/eval.c +++ b/src/eval.c @@ -16225,7 +16225,7 @@ f_winrestview(argvars, rettv) curwin->w_curswant = get_dict_number(dict, (char_u *)"curswant"); curwin->w_set_curswant = FALSE; - curwin->w_topline = get_dict_number(dict, (char_u *)"topline"); + set_topline(curwin, get_dict_number(dict, (char_u *)"topline")); #ifdef FEAT_DIFF curwin->w_topfill = get_dict_number(dict, (char_u *)"topfill"); #endif