summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-08-04 20:12:32 +0200
committerBram Moolenaar <Bram@vim.org>2010-08-04 20:12:32 +0200
commite4ce65d445c45e14903b9daf08ee8658cb0f3090 (patch)
tree43706a993dfbeea50c877bc375996f547d43d136 /src/message.c
parent257a9c873f9013eb1424a1a234024b2dca581773 (diff)
downloadvim-e4ce65d445c45e14903b9daf08ee8658cb0f3090.zip
After entering a crypt key would need to hit return to continue.
When silencing a message it would still clear a kept message.
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/message.c b/src/message.c
index 3b1b45892..c33b173b8 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1135,8 +1135,11 @@ msg_start()
{
int did_return = FALSE;
- vim_free(keep_msg);
- keep_msg = NULL; /* don't display old message now */
+ if (!msg_silent)
+ {
+ vim_free(keep_msg);
+ keep_msg = NULL; /* don't display old message now */
+ }
#ifdef FEAT_EVAL
if (need_clr_eos)