summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-02-11 17:47:54 +0000
committerBram Moolenaar <Bram@vim.org>2009-02-11 17:47:54 +0000
commit8de49e183d4f44c723bff5c1744f1373934b4cca (patch)
treed26513c55ccfdf4d71a6a09fc6a4c482dd42ca21 /src/message.c
parent6ae167a4841ceec7ca74e9f3045d76a2fe1dd394 (diff)
downloadvim-git-8de49e183d4f44c723bff5c1744f1373934b4cca.tar.gz
updated for version 7.2-107v7.2.107
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index 5e3e530e0..e0f289760 100644
--- a/src/message.c
+++ b/src/message.c
@@ -3309,7 +3309,10 @@ do_dialog(type, title, message, buttons, dfltbutton, textfield)
{
c = gui_mch_dialog(type, title, message, buttons, dfltbutton,
textfield);
- msg_end_prompt();
+ /* avoid a hit-enter prompt without clearing the cmdline */
+ need_wait_return = FALSE;
+ emsg_on_display = FALSE;
+ cmdline_row = msg_row;
/* Flush output to avoid that further messages and redrawing is done
* in the wrong order. */