diff src/structs.h @ 9802:4cb5ab124239 v7.4.2176

commit https://github.com/vim/vim/commit/a8e691d44937fd9d72dcbad2b8c673682277f13d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 7 15:19:26 2016 +0200 patch 7.4.2176 Problem: #ifdefs in main() are complicated. Solution: Always define vim_main2(). Move params to the file level. (suggested by Ken Takata)
author Christian Brabandt <cb@256bit.org>
date Sun, 07 Aug 2016 15:30:06 +0200
parents 59565cdd7261
children 6a28d0c6f929
line wrap: on
line diff
--- a/src/structs.h
+++ b/src/structs.h
@@ -3160,7 +3160,7 @@ struct timer_S
     timer_T	*tr_prev;
     proftime_T	tr_due;		    /* when the callback is to be invoked */
     int		tr_repeat;	    /* number of times to repeat, -1 forever */
-    long	tr_interval;	    /* only set when it repeats */
+    long	tr_interval;	    /* msec */
     char_u	*tr_callback;	    /* allocated */
     partial_T	*tr_partial;
 #endif
@@ -3180,6 +3180,8 @@ typedef struct
     int		argc;
     char	**argv;
 
+    char_u	*fname;			/* first file to edit */
+
     int		evim_mode;		/* started as "evim" */
     char_u	*use_vimrc;		/* vimrc from -u argument */