aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 76eba6fbdb8..8001c545029 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -1258,7 +1258,7 @@ update_frame (f, force, inhibit_hairy_id)
1258 outq = PENDING_OUTPUT_COUNT (stdout); 1258 outq = PENDING_OUTPUT_COUNT (stdout);
1259#endif 1259#endif
1260 outq *= 10; 1260 outq *= 10;
1261 if (baud_rate <= outq) 1261 if (baud_rate <= outq && baud_rate > 0)
1262 sleep (outq / baud_rate); 1262 sleep (outq / baud_rate);
1263 } 1263 }
1264 } 1264 }