summaryrefslogtreecommitdiff
path: root/src/mark.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-16 22:11:02 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-16 22:11:02 +0000
commitf740b29ae2a346e44c34001b3bf8ecfa0c7857bd (patch)
tree5b62807af1359d3df97367448927cdbb53969448 /src/mark.c
parent4c7ed462cb7813730b4f15f9cb09f1b26d097fca (diff)
downloadvim-git-f740b29ae2a346e44c34001b3bf8ecfa0c7857bd.tar.gz
updated for version 7.0199v7.0199
Diffstat (limited to 'src/mark.c')
-rw-r--r--src/mark.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mark.c b/src/mark.c
index f077b1133..193d76846 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -1500,11 +1500,12 @@ write_viminfo_marks(fp_out)
int i;
#ifdef FEAT_WINDOWS
win_T *win;
+ tabpage_T *tp;
/*
* Set b_last_cursor for the all buffers that have a window.
*/
- for (win = firstwin; win != NULL; win = win->w_next)
+ FOR_ALL_TAB_WINDOWS(tp, win)
set_last_cursor(win);
#else
set_last_cursor(curwin);