mirror of
https://github.com/vim/vim.git
synced 2025-10-03 05:14:07 -04:00
updated for version 7.3.458
Problem: Crash when calling smsg() during startup. Solution: Don't use 'shortmess' when it is not set yet.
This commit is contained in:
@@ -10984,7 +10984,8 @@ has_format_option(x)
|
|||||||
shortmess(x)
|
shortmess(x)
|
||||||
int x;
|
int x;
|
||||||
{
|
{
|
||||||
return ( vim_strchr(p_shm, x) != NULL
|
return p_shm != NULL &&
|
||||||
|
( vim_strchr(p_shm, x) != NULL
|
||||||
|| (vim_strchr(p_shm, 'a') != NULL
|
|| (vim_strchr(p_shm, 'a') != NULL
|
||||||
&& vim_strchr((char_u *)SHM_A, x) != NULL));
|
&& vim_strchr((char_u *)SHM_A, x) != NULL));
|
||||||
}
|
}
|
||||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
458,
|
||||||
/**/
|
/**/
|
||||||
457,
|
457,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user