mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00
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 *".
32526b3c18
This commit is contained in:
@@ -292,7 +292,7 @@ newwindow:
|
||||
// move window to new tab page
|
||||
case 'T':
|
||||
if (one_window()) {
|
||||
MSG(_(m_onlyone));
|
||||
msg(_(m_onlyone));
|
||||
} else {
|
||||
tabpage_T *oldtab = curtab;
|
||||
tabpage_T *newtab;
|
||||
@@ -3529,7 +3529,7 @@ void close_others(int message, int forceit)
|
||||
if (one_window() && !lastwin->w_floating) {
|
||||
if (message
|
||||
&& !autocmd_busy) {
|
||||
MSG(_(m_onlyone));
|
||||
msg(_(m_onlyone));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user