comparison src/version.c @ 5126:71859e71b1f9 v7.3.1306

updated for version 7.3.1306 Problem: When redrawing the screen during startup the intro message may be cleared. Solution: Redisplay the intro message when appropriate.
author Bram Moolenaar <bram@vim.org>
date Thu, 04 Jul 2013 22:31:03 +0200
parents 6f24376028af
children 3dafc80e781b
comparison
equal deleted inserted replaced
5125:22e755cc75c0 5126:71859e71b1f9
726 NULL 726 NULL
727 }; 727 };
728 728
729 static int included_patches[] = 729 static int included_patches[] =
730 { /* Add new patch number below this line */ 730 { /* Add new patch number below this line */
731 /**/
732 1306,
731 /**/ 733 /**/
732 1305, 734 1305,
733 /**/ 735 /**/
734 1304, 736 1304,
735 /**/ 737 /**/
3775 } 3777 }
3776 3778
3777 static void do_intro_line __ARGS((int row, char_u *mesg, int add_version, int attr)); 3779 static void do_intro_line __ARGS((int row, char_u *mesg, int add_version, int attr));
3778 3780
3779 /* 3781 /*
3782 * Show the intro message when not editing a file.
3783 */
3784 void
3785 maybe_intro_message()
3786 {
3787 if (bufempty()
3788 && curbuf->b_fname == NULL
3789 #ifdef FEAT_WINDOWS
3790 && firstwin->w_next == NULL
3791 #endif
3792 && vim_strchr(p_shm, SHM_INTRO) == NULL)
3793 intro_message(FALSE);
3794 }
3795
3796 /*
3780 * Give an introductory message about Vim. 3797 * Give an introductory message about Vim.
3781 * Only used when starting Vim on an empty file, without a file name. 3798 * Only used when starting Vim on an empty file, without a file name.
3782 * Or with the ":intro" command (for Sven :-). 3799 * Or with the ":intro" command (for Sven :-).
3783 */ 3800 */
3784 void 3801 void