From f5784fe308c7bdc494b0390d74a14ad6cff8f130 Mon Sep 17 00:00:00 2001 From: malc Date: Sun, 9 Jun 2013 01:28:24 +0400 Subject: [PATCH] Stop accessing the trailer directly --- link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/link.c b/link.c index 10f7df7..f87833d 100644 --- a/link.c +++ b/link.c @@ -523,7 +523,7 @@ static void pdfinfo (void) printd ("info PDF version\t%d.%d", state.u.pdf->version / 10, state.u.pdf->version % 10); - infoobj = pdf_dict_gets (state.u.pdf->trailer, "Info"); + infoobj = pdf_dict_gets (pdf_trailer (state.u.pdf), "Info"); if (infoobj) { int i; char *s; -- 2.11.4.GIT