0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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.
This commit is contained in:
Bram Moolenaar
2013-07-04 22:31:03 +02:00
parent 61214040e9
commit 249f0dda51
3 changed files with 25 additions and 8 deletions

View File

@@ -389,7 +389,6 @@ redraw_asap(type)
}
ret = 4;
}
setcursor();
}
vim_free(screenline);
@@ -405,6 +404,11 @@ redraw_asap(type)
vim_free(screenline2);
#endif
/* Show the intro message when appropriate. */
maybe_intro_message();
setcursor();
return ret;
}
@@ -715,13 +719,8 @@ update_screen(type)
showmode();
/* May put up an introductory message when not editing a file */
if (!did_intro && bufempty()
&& curbuf->b_fname == NULL
#ifdef FEAT_WINDOWS
&& firstwin->w_next == NULL
#endif
&& vim_strchr(p_shm, SHM_INTRO) == NULL)
intro_message(FALSE);
if (!did_intro)
maybe_intro_message();
did_intro = TRUE;
#ifdef FEAT_GUI