diff src/fileio.c @ 540:2df7f3a5eb96

updated for version 7.0153
author vimboss
date Mon, 03 Oct 2005 22:02:18 +0000
parents 7052f11a3dc9
children 74c2ea3c3081
line wrap: on
line diff
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2193,7 +2193,7 @@ failed:
 #endif
 		p = msg_trunc_attr(IObuff, FALSE, 0);
 	    if (read_stdin || read_buffer || restart_edit != 0
-		    || (msg_scrolled && !need_wait_return))
+		    || (msg_scrolled != 0 && !need_wait_return))
 	    {
 		/* Need to repeat the message after redrawing when:
 		 * - When reading from stdin (the screen will be cleared next).