forked from aniani/vim
patch 8.2.0841: 'verbose' value 16 causes duplicate output
Problem: 'verbose' value 16 causes duplicate output.
Solution: Combine levels 15 and 16 into one message. (Christian Brabandt,
closes #6153)
This commit is contained in:
@@ -967,7 +967,7 @@ do_cmdline(
|
||||
}
|
||||
}
|
||||
|
||||
if (p_verbose >= 15 && SOURCING_NAME != NULL)
|
||||
if ((p_verbose >= 15 && SOURCING_NAME != NULL) || p_verbose >= 16)
|
||||
msg_verbose_cmd(SOURCING_LNUM, cmdline_copy);
|
||||
|
||||
/*
|
||||
@@ -1691,9 +1691,6 @@ do_one_cmd(
|
||||
if ((*cmdlinep)[0] == '#' && (*cmdlinep)[1] == '!')
|
||||
goto doend;
|
||||
|
||||
if (p_verbose >= 16)
|
||||
msg_verbose_cmd(0, *cmdlinep);
|
||||
|
||||
/*
|
||||
* 1. Skip comment lines and leading white space and colons.
|
||||
* 2. Handle command modifiers.
|
||||
|
||||
@@ -746,6 +746,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
841,
|
||||
/**/
|
||||
840,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user