diff options
| author | Richard M. Stallman | 1994-05-17 19:38:45 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-17 19:38:45 +0000 |
| commit | d520f0d2ad1899d8c5145ec49b8dfb61645ce6c0 (patch) | |
| tree | 1f1551e7b3f4dce12f14b218887bd902601b9db6 /src | |
| parent | f2a578bad4766b17aa2b0411926b948067be9f54 (diff) | |
| download | emacs-d520f0d2ad1899d8c5145ec49b8dfb61645ce6c0.tar.gz emacs-d520f0d2ad1899d8c5145ec49b8dfb61645ce6c0.zip | |
(update_frame): Fix test of outq and baud_rate some more.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 2 |
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 | } |