summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/pdfapp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/pdfapp.c b/apps/pdfapp.c
index c701e350..cdb88e61 100644
--- a/apps/pdfapp.c
+++ b/apps/pdfapp.c
@@ -143,8 +143,6 @@ static void pdfapp_open_pdf(pdfapp_t *app, char *filename, int fd)
* Load meta information
*/
- app->outline = pdf_load_outline(app->xref);
-
info = fz_dict_gets(app->xref->trailer, "Info");
if (info)
{
@@ -176,6 +174,8 @@ static void pdfapp_open_pdf(pdfapp_t *app, char *filename, int fd)
}
app->pagecount = pdf_count_pages(app->xref);
+
+ app->outline = pdf_load_outline(app->xref);
}
static void pdfapp_open_xps(pdfapp_t *app, char *filename, int fd)