diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2009-12-05 17:58:41 +0100 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2009-12-05 17:58:41 +0100 |
commit | 2e2e97db605cc58d76033fc92c3806d475e2c262 (patch) | |
tree | 2489d1d277b868df6611f2019e6471458b4e3a30 /apps/common/pdftool.c | |
parent | ea270be43aeb9fc80fbeedd7be6e8609810c04b7 (diff) | |
download | mupdf-2e2e97db605cc58d76033fc92c3806d475e2c262.tar.xz |
Fluxh xref between pages in pdfdraw.
Diffstat (limited to 'apps/common/pdftool.c')
-rw-r--r-- | apps/common/pdftool.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/common/pdftool.c b/apps/common/pdftool.c index fdabc2d6..97a95043 100644 --- a/apps/common/pdftool.c +++ b/apps/common/pdftool.c @@ -66,6 +66,14 @@ void openxref(char *filename, char *password, int dieonbadpass) pagecount = pdf_getpagecount(xref); } +void flushxref(void) +{ + if (xref) + { + pdf_flushxref(xref, 0); + } +} + void closexref(void) { if (cleanup) |