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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user