1
0
forked from aniani/vim

patch 8.1.0779: argument for message functions is inconsistent

Problem:    Argument for message functions is inconsistent.
Solution:   Make first argument to msg() "char *".
This commit is contained in:
Bram Moolenaar
2019-01-19 17:43:09 +01:00
parent d383c92ec1
commit 32526b3c18
56 changed files with 679 additions and 698 deletions

View File

@@ -310,7 +310,7 @@ newwindow:
/* move window to new tab page */
case 'T':
if (one_window())
MSG(_(m_onlyone));
msg(_(m_onlyone));
else
{
tabpage_T *oldtab = curtab;
@@ -3379,7 +3379,7 @@ close_others(
if (one_window())
{
if (message && !autocmd_busy)
MSG(_(m_onlyone));
msg(_(m_onlyone));
return;
}