summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-09-23 10:29:22 +0000
committerTor Andersson <tor@ghostscript.com>2010-09-23 10:29:22 +0000
commit6c7eea10da1ef029d10c0db52b360d7dce506310 (patch)
treecaa2f7aea1cd862ee5efb3d0182bf2143cd23092
parentee9b6616000a896ead315c1bf61de22bf92a3fa4 (diff)
downloadmupdf-6c7eea10da1ef029d10c0db52b360d7dce506310.tar.xz
Fix typo in pdfextract.
-rw-r--r--apps/pdfextract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfextract.c b/apps/pdfextract.c
index ef7d94b2..724bccb9 100644
--- a/apps/pdfextract.c
+++ b/apps/pdfextract.c
@@ -145,7 +145,7 @@ static void savefont(fz_obj *dict, int num)
if (f == NULL)
die(fz_throw("Error creating font file"));
- n = fwrite(buf, 1, buf->len, f);
+ n = fwrite(buf->data, 1, buf->len, f);
if (n < buf->len)
die(fz_throw("Error writing font file"));