(update_frame): Fix test of outq and baud_rate some more.
authorRichard M. Stallman <rms@gnu.org>
Tue, 17 May 1994 19:38:45 +0000 (19:38 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 17 May 1994 19:38:45 +0000 (19:38 +0000)
src/dispnew.c

index 76eba6f..8001c54 100644 (file)
@@ -1258,7 +1258,7 @@ update_frame (f, force, inhibit_hairy_id)
                        outq = PENDING_OUTPUT_COUNT (stdout);
 #endif
                      outq *= 10;
-                     if (baud_rate <= outq)
+                     if (baud_rate <= outq && baud_rate > 0)
                        sleep (outq / baud_rate);
                    }
                }