changeset 7530:57c2345a9002

(update_frame): Fix test of outq and baud_rate some more.
author Richard M. Stallman <rms@gnu.org>
date Tue, 17 May 1994 19:38:45 +0000
parents e326ef45f084
children ba949f15f8c4
files src/dispnew.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Tue May 17 19:38:00 1994 +0000
+++ b/src/dispnew.c	Tue May 17 19:38:45 1994 +0000
@@ -1258,7 +1258,7 @@
 			outq = PENDING_OUTPUT_COUNT (stdout);
 #endif
 		      outq *= 10;
-		      if (baud_rate <= outq)
+		      if (baud_rate <= outq && baud_rate > 0)
 			sleep (outq / baud_rate);
 		    }
 		}