]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.389 v7.3.389
authorBram Moolenaar <Bram@vim.org>
Fri, 30 Dec 2011 13:14:29 +0000 (14:14 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 30 Dec 2011 13:14:29 +0000 (14:14 +0100)
Problem:    After typing at a prompt the "MORE" message appears too soon.
Solution:   reset lines_left in msg_end_prompt(). (Eswald)

src/message.c
src/version.c

index 65f1057900da22e53060459ad9ca0b056e094aba..6cd3fa2abc3f483928d14a21430b1d05de3bee73 100644 (file)
@@ -85,7 +85,7 @@ static int  verbose_did_open = FALSE;
  *                 need_wait_return to be set.  This is a hack to make ":ts"
  *                 work without an extra prompt.
  * lines_left      Number of lines available for messages before the
- *                 more-prompt is to be given.
+ *                 more-prompt is to be given.  -1 when not set.
  * need_wait_return TRUE when the hit-return prompt is needed.
  *                 Reset: After giving the hit-return prompt, when the user
  *                 has answered some other prompt.
@@ -855,6 +855,7 @@ msg_end_prompt()
     cmdline_row = msg_row;
     msg_col = 0;
     msg_clr_eos();
+    lines_left = -1;
 }
 #endif
 
index 9753d812ad2a844de047b5b2a50bafc51e428d6c..5aaf8948e78558e2751d9bd8c8bac41ca271ff28 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    389,
 /**/
     388,
 /**/