Mercurial > emacs
comparison src/dispnew.c @ 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 | 8497bcb9fb8e |
comparison
equal
deleted
inserted
replaced
7529:e326ef45f084 | 7530:57c2345a9002 |
---|---|
1256 /* Probably not a tty. Ignore the error and reset | 1256 /* Probably not a tty. Ignore the error and reset |
1257 * the outq count. */ | 1257 * the outq count. */ |
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 } |
1265 if ((i - 1) % preempt_count == 0) | 1265 if ((i - 1) % preempt_count == 0) |
1266 detect_input_pending (); | 1266 detect_input_pending (); |