diff src/message.c @ 1809:e9d018b58830 v7.2.107

updated for version 7.2-107
author vimboss
date Wed, 11 Feb 2009 17:47:54 +0000
parents c3242ae88ef1
children 484987f8e04c
line wrap: on
line diff
--- a/src/message.c
+++ b/src/message.c
@@ -3309,7 +3309,10 @@ do_dialog(type, title, message, buttons,
     {
 	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. */