diff src/eval.c @ 949:8fafff87aedb v7.0.075

updated for version 7.0-075
author vimboss
date Tue, 29 Aug 2006 19:55:53 +0000
parents b2dcb8457067
children 06959e7212e5
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -16232,6 +16232,7 @@ f_winsaveview(argvars, rettv)
 #ifdef FEAT_VIRTUALEDIT
     dict_add_nr_str(dict, "coladd", (long)curwin->w_cursor.coladd, NULL);
 #endif
+    update_curswant();
     dict_add_nr_str(dict, "curswant", (long)curwin->w_curswant, NULL);
 
     dict_add_nr_str(dict, "topline", (long)curwin->w_topline, NULL);