mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.0.0663: unexpected error message only when 'verbose' is set
Problem: Giving an error message only when 'verbose' set is unexpected. Solution: Give a warning message instead.
This commit is contained in:
@@ -3471,6 +3471,13 @@ give_warning(char_u *message, int hl)
|
||||
--no_wait_return;
|
||||
}
|
||||
|
||||
void
|
||||
give_warning2(char_u *message, char_u *a1, int hl)
|
||||
{
|
||||
vim_snprintf((char *)IObuff, IOSIZE, (char *)message, a1);
|
||||
give_warning(IObuff, hl);
|
||||
}
|
||||
|
||||
/*
|
||||
* Advance msg cursor to column "col".
|
||||
*/
|
||||
|
Reference in New Issue
Block a user