summaryrefslogtreecommitdiff
path: root/src/misc2.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/misc2.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/misc2.c')
-rw-r--r--src/misc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc2.c b/src/misc2.c
index 3c25a1f08..8492b3e81 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -4016,9 +4016,9 @@ get_crypt_key(store, twice)
}
/* since the user typed this, no need to wait for return */
- need_wait_return = FALSE;
if (msg_didout)
msg_putchar('\n');
+ need_wait_return = FALSE;
msg_didout = FALSE;
free_crypt_key(p2);