From 4ad40244021880e90d670720ac4c3beeac70aebc Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 2 Jun 2005 11:34:46 +0200 Subject: heh. forgot a bunch of files for the new stream stuff. --- apps/pdfdebug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/pdfdebug.c') 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); } -- cgit v1.2.3