diff src/misc1.c @ 957:3dc6072e0a25 v7.0.083

updated for version 7.0-083
author vimboss
date Sun, 03 Sep 2006 14:35:42 +0000
parents 6632670ff6fc
children e905716f6a3a
line wrap: on
line diff
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -3196,14 +3196,12 @@ prompt_for_number(mouse_used)
     else
 	MSG_PUTS(_("Choice number (<Enter> cancels): "));
 
-    /* Set the state such that text can be selected/copied/pasted. */
+    /* Set the state such that text can be selected/copied/pasted and we still
+     * get mouse events. */
     save_cmdline_row = cmdline_row;
-    cmdline_row = Rows - 1;
+    cmdline_row = 0;
     save_State = State;
-    if (mouse_used == NULL)
-	State = CMDLINE;
-    else
-	State = NORMAL;
+    State = CMDLINE;
 
     i = get_number(TRUE, mouse_used);
     if (KeyTyped)