From 3a7c49e637e8e1a580ecacae7558671d05ae0979 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 6 Jan 2012 11:26:01 +0000 Subject: pdfclean; trailer dictionary expansion fix The logic controlling whether to expand a trailer dictionary or not was reversed. Fixed here. Thanks to Zeniko for pointing this out. --- apps/pdfclean.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/pdfclean.c') diff --git a/apps/pdfclean.c b/apps/pdfclean.c index dba60734..c114cffe 100644 --- a/apps/pdfclean.c +++ b/apps/pdfclean.c @@ -682,7 +682,7 @@ static void writexref(void) fz_dict_puts(trailer, "ID", obj); fprintf(out, "trailer\n"); - fz_fprint_obj(out, trailer, doexpand != 0); + fz_fprint_obj(out, trailer, doexpand == 0); fprintf(out, "\n"); fz_drop_obj(trailer); -- cgit v1.2.3