diff options
author | Tor Andersson <tor@ghostscript.com> | 2008-10-02 23:33:59 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2008-10-02 23:33:59 +0200 |
commit | 5966822947837d9421bd6490f252ba4d3d0e6447 (patch) | |
tree | 28ab0f3cb33be0b5f496939e812123046203fa01 /stream/stm_write.c | |
parent | f9cd122bd24fdaf2793e996ca043259e3931346d (diff) | |
download | mupdf-5966822947837d9421bd6490f252ba4d3d0e6447.tar.xz |
Fix typo that prevented file buffers from rewinding when flushing a stream.
Diffstat (limited to 'stream/stm_write.c')
-rw-r--r-- | stream/stm_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stm_write.c b/stream/stm_write.c index 2d687313..fd3eebd3 100644 --- a/stream/stm_write.c +++ b/stream/stm_write.c @@ -82,7 +82,7 @@ loop: if (reason == fz_ioneedin) { - if (buf->rp > buf->ep) + if (buf->rp > buf->sp) { error = fz_rewindbuffer(buf); if (error) |