From 1d2a714c9ac3f5cbca0015dbfbfa2fbcb5620fbe Mon Sep 17 00:00:00 2001 From: Ken Sharp <ken.sharp@artifex.com> Date: Tue, 16 Oct 2018 16:52:25 +0100 Subject: [PATCH] Remove debug code accidentally left in growPDFobjects --- Resource/Init/pdf_base.ps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resource/Init/pdf_base.ps b/Resource/Init/pdf_base.ps index d9a85a2..b45e980 100644 --- a/Resource/Init/pdf_base.ps +++ b/Resource/Init/pdf_base.ps @@ -394,7 +394,7 @@ currentdict /token_nofail_dict .undef dup Objects length gt { dup Objects exch array dup 3 1 roll copy pop /Objects exch def } if - dup Generations length pstack gt { + dup Generations length gt { %% Initiallly Generations is a string, but the xref rebuilding code %% can convert it to an array (/setxrefentry in pdf_rbld.ps). So we %% need to be able to deal with either case. -- 2.9.1