From ee986e1d0acfc586a81aa593c72f9278077f3299 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 17 Feb 2009 16:37:51 +0000 Subject: Divorce PDF export and printing. At some point, the RISC OS printing code should be ported to the core page-based output engine. svn path=/trunk/netsurf/; revision=6544 --- desktop/save_pdf/pdf_plotters.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'desktop/save_pdf') diff --git a/desktop/save_pdf/pdf_plotters.c b/desktop/save_pdf/pdf_plotters.c index b30545b60..c538efa72 100644 --- a/desktop/save_pdf/pdf_plotters.c +++ b/desktop/save_pdf/pdf_plotters.c @@ -24,6 +24,7 @@ #include "utils/config.h" #ifdef WITH_PDF_EXPORT +#include #include #include #include "hpdf.h" @@ -735,6 +736,8 @@ void pdf_end(void) } #endif + assert(settings->output != NULL); + /*Encryption on*/ if (option_enable_PDF_password) PDF_Password(&owner_pass, &user_pass, -- cgit v1.2.3