Mercurial > vim
diff src/window.c @ 15543:dd725a8ab112 v8.1.0779
patch 8.1.0779: argument for message functions is inconsistent
commit https://github.com/vim/vim/commit/32526b3c1846025f0e655f41efd4e5428da16b6c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 19 17:43:09 2019 +0100
patch 8.1.0779: argument for message functions is inconsistent
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 19 Jan 2019 17:45:07 +0100 |
parents | 98c35d312987 |
children | 62b3805506b3 |
line wrap: on
line diff
--- a/src/window.c +++ b/src/window.c @@ -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; }