aboutsummaryrefslogtreecommitdiffstats
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-05-17 19:38:45 +0000
committerRichard M. Stallman <[email protected]>1994-05-17 19:38:45 +0000
commitd520f0d2ad1899d8c5145ec49b8dfb61645ce6c0 (patch)
tree1f1551e7b3f4dce12f14b218887bd902601b9db6 /src/dispnew.c
parentf2a578bad4766b17aa2b0411926b948067be9f54 (diff)
(update_frame): Fix test of outq and baud_rate some more.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 76eba6fbdb..8001c54502 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -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);
}
}