diff options
author | Tor Andersson <tor@ghostscript.com> | 2005-06-02 11:34:46 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2005-06-02 11:34:46 +0200 |
commit | 4ad40244021880e90d670720ac4c3beeac70aebc (patch) | |
tree | 7bdf4abc06168d7da4b24998adc2e47ca9f70c84 /apps/pdfdebug.c | |
parent | 987d58dfaf4030f43b2a8854e2d246f75465cc57 (diff) | |
download | mupdf-4ad40244021880e90d670720ac4c3beeac70aebc.tar.xz |
heh. forgot a bunch of files for the new stream stuff.
Diffstat (limited to 'apps/pdfdebug.c')
-rw-r--r-- | apps/pdfdebug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/pdfdebug.c b/apps/pdfdebug.c index 1ae84d7c..3a3f8321 100644 --- a/apps/pdfdebug.c +++ b/apps/pdfdebug.c @@ -57,7 +57,7 @@ void decodestream(pdf_xref *xref, int oid, int gid) if (n == 0) break; if (n < 0) - fz_abort(fz_throw("ioerror: read failed")); + fz_abort(fz_ioerror(stm)); printsafe(buf, n); } @@ -81,7 +81,7 @@ void copystream(pdf_xref *xref, int oid, int gid) if (n == 0) break; if (n < 0) - fz_abort(fz_throw("ioerror: read failed")); + fz_abort(fz_ioerror(stm)); printsafe(buf, n); } |