diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2009-07-09 02:03:19 +0200 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2009-07-09 02:03:19 +0200 |
commit | 1ef9dff0e7ad7112025efe273ae855f6d2ad5f36 (patch) | |
tree | 08240b59b6ab17fc48ef16f1c5160ed447285498 /apps/unix | |
parent | 60a1411f016d2fecce12abf715a10d7e7faf886f (diff) | |
download | mupdf-1ef9dff0e7ad7112025efe273ae855f6d2ad5f36.tar.xz |
Parse page tree on-demand instead of parsing the entire tree after reading xref.
Diffstat (limited to 'apps/unix')
-rw-r--r-- | apps/unix/x11pdf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/unix/x11pdf.c b/apps/unix/x11pdf.c index e3bc4b72..3ae1d930 100644 --- a/apps/unix/x11pdf.c +++ b/apps/unix/x11pdf.c @@ -320,8 +320,7 @@ static void windrawpageno(pdfapp_t *app) { char s[100]; - int ret = snprintf(s, 100, "Page %d/%d", gapp.pageno, - pdf_getpagecount(gapp.pages)); + int ret = snprintf(s, 100, "Page %d/%d", gapp.pageno, gapp.pagecount); if (ret >= 0) { isshowingpage = 1; |