diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-03-07 15:31:36 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-03-07 15:31:36 +0100 |
commit | 16c6f406911b9c93491a244cfe1ec37603284489 (patch) | |
tree | 2c51405766263722bcf9c4cad6c9f68a6447717d /apps/mupdfshow.c | |
parent | d55162d649a12d62a1d1c738d99ca9dee7de575d (diff) | |
download | mupdf-16c6f406911b9c93491a244cfe1ec37603284489.tar.xz |
Splitting tweaks.
Diffstat (limited to 'apps/mupdfshow.c')
-rw-r--r-- | apps/mupdfshow.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/mupdfshow.c b/apps/mupdfshow.c index 475dc5a9..94aa90d6 100644 --- a/apps/mupdfshow.c +++ b/apps/mupdfshow.c @@ -2,7 +2,6 @@ * pdfshow -- the ultimate pdf debugging tool */ -#include "fitz.h" #include "mupdf-internal.h" static pdf_document *doc = NULL; @@ -145,7 +144,7 @@ static void showgrep(char *filename) pdf_obj *obj; int i; - for (i = 0; i < doc->len; i++) + for (i = 0; i < pdf_count_objects(doc); i++) { if (doc->table[i].type == 'n' || doc->table[i].type == 'o') { |