From df7d0a23011f67b473d97dd668a5c9acade481c8 Mon Sep 17 00:00:00 2001 From: malc Date: Wed, 24 Dec 2014 23:57:24 +0300 Subject: [PATCH] Fix condition --- link.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/link.c b/link.c index aae1fe4..0e0ee51 100644 --- a/link.c +++ b/link.c @@ -1013,7 +1013,7 @@ static void initpdims (void) pageref = state.pdflut.objs[pageno]; #else pageref = pdf_lookup_page_obj (pdf, pageno); - show = !trim && pageno % 20 == 0; + show = !state.trimmargins && pageno % 20 == 0; if (show) { printd ("progress %f Gathering dimensions %d", (double) (pageno) / state.pagecount, -- 2.11.4.GIT