aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/message.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-31 19:13:45 +0800
committerGitHub <noreply@github.com>2022-07-31 19:13:45 +0800
commit380417c1ddbd90b084ed27f321b575de34998a9b (patch)
tree99171207e25340bc6bb1b3466f5c192d50d03a4f /src/nvim/message.c
parentabc087f4c65ca547cae58518b42aee82ff4a07f6 (diff)
parent2c522854c78d4e02d7337cf0b06174387f7f4583 (diff)
downloadrneovim-380417c1ddbd90b084ed27f321b575de34998a9b.tar.gz
rneovim-380417c1ddbd90b084ed27f321b575de34998a9b.tar.bz2
rneovim-380417c1ddbd90b084ed27f321b575de34998a9b.zip
Merge pull request #19587 from Shougo/vim-9.0.0114
vim-patch:9.0.{0114,0115,0118}
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r--src/nvim/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c
index 66c6cca561..621a9212df 100644
--- a/src/nvim/message.c
+++ b/src/nvim/message.c
@@ -1390,7 +1390,7 @@ void msg_start(void)
need_fileinfo = false;
}
- bool no_msg_area = !ui_has_messages();
+ const bool no_msg_area = !ui_has_messages();
if (need_clr_eos || (no_msg_area && redrawing_cmdline)) {
// Halfway an ":echo" command and getting an (error) message: clear