summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-05-13 10:51:08 +0000
committerBram Moolenaar <Bram@vim.org>2009-05-13 10:51:08 +0000
commit0ab2a8870cc335acd99f7f4d806f802818d97014 (patch)
tree604a7a94f20947c47cb08fb013fb84c62b6e9ca9 /src/globals.h
parent3c65e314b432707440593d9ecf8d016b99e8ed8c (diff)
updated for version 7.2-168
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/globals.h b/src/globals.h
index 548927afdb..b870962d49 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -524,7 +524,7 @@ EXTERN win_T *lastwin; /* last window */
EXTERN win_T *prevwin INIT(= NULL); /* previous window */
# define W_NEXT(wp) ((wp)->w_next)
# define FOR_ALL_WINDOWS(wp) for (wp = firstwin; wp != NULL; wp = wp->w_next)
-#define FOR_ALL_TAB_WINDOWS(tp, wp) \
+# define FOR_ALL_TAB_WINDOWS(tp, wp) \
for ((tp) = first_tabpage; (tp) != NULL; (tp) = (tp)->tp_next) \
for ((wp) = ((tp) == curtab) \
? firstwin : (tp)->tp_firstwin; (wp); (wp) = (wp)->w_next)
@@ -718,7 +718,7 @@ EXTERN int can_si_back INIT(= FALSE);
EXTERN pos_T saved_cursor /* w_cursor before formatting text. */
# ifdef DO_INIT
- = INIT_POS_T
+ = INIT_POS_T(0, 0, 0)
# endif
;
@@ -1039,7 +1039,7 @@ EXTERN char_u *autocmd_match INIT(= NULL); /* name for <amatch> on cmdline */
EXTERN int did_cursorhold INIT(= FALSE); /* set when CursorHold t'gerd */
EXTERN pos_T last_cursormoved /* for CursorMoved event */
# ifdef DO_INIT
- = INIT_POS_T
+ = INIT_POS_T(0, 0, 0)
# endif
;
#endif