diff options
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stm_buffer.c (renamed from stream/filt_buffer.c) | 0 | ||||
-rw-r--r-- | stream/stm_filec.c (renamed from stream/filt_filec.c) | 4 | ||||
-rw-r--r-- | stream/stm_filer.c (renamed from stream/filt_filer.c) | 0 | ||||
-rw-r--r-- | stream/stm_filew.c (renamed from stream/filt_filew.c) | 0 |
4 files changed, 2 insertions, 2 deletions
diff --git a/stream/filt_buffer.c b/stream/stm_buffer.c index 206137a6..206137a6 100644 --- a/stream/filt_buffer.c +++ b/stream/stm_buffer.c diff --git a/stream/filt_filec.c b/stream/stm_filec.c index 05813185..93f9ce5a 100644 --- a/stream/filt_filec.c +++ b/stream/stm_filec.c @@ -287,14 +287,14 @@ fz_seek(fz_file *f, int ofs, int whence) if (whence == 0) { if (f->mode == FZ_READ) - f->out->rp = CLAMP(f->out->bp + ofs, f->out->bp, f->in->ep); + f->out->rp = CLAMP(f->out->bp + ofs, f->out->bp, f->out->ep); else f->in->wp = CLAMP(f->in->bp + ofs, f->in->bp, f->in->ep); } else { if (f->mode == FZ_READ) - f->out->rp = CLAMP(f->out->ep + ofs, f->out->bp, f->in->ep); + f->out->rp = CLAMP(f->out->ep + ofs, f->out->bp, f->out->ep); else f->in->wp = CLAMP(f->in->ep + ofs, f->in->bp, f->in->ep); } diff --git a/stream/filt_filer.c b/stream/stm_filer.c index a63a7dd2..a63a7dd2 100644 --- a/stream/filt_filer.c +++ b/stream/stm_filer.c diff --git a/stream/filt_filew.c b/stream/stm_filew.c index f83399a2..f83399a2 100644 --- a/stream/filt_filew.c +++ b/stream/stm_filew.c |