From 6dd385591dcda09a4b2a4fe34d812a2c33e9db02 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 20 Jun 2009 19:38:56 +0000 Subject: NETSURF_USE_DRAW should apply to the Draw content handler only. Introduce NETSURF_USE_DRAW_EXPORT to toggle draw export support. Fix up a bunch of stuff related to this. Fix warnings caused by disabling the Sprite renderer. svn path=/trunk/netsurf/; revision=7899 --- riscos/save.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'riscos/save.c') diff --git a/riscos/save.c b/riscos/save.c index 43b12a4f5..e49ce319d 100644 --- a/riscos/save.c +++ b/riscos/save.c @@ -833,8 +833,10 @@ bool ro_gui_save_content(struct content *c, char *path, bool force_overwrite) } switch (gui_save_current_type) { +#ifdef WITH_DRAW_EXPORT case GUI_SAVE_DRAW: return save_as_draw(c, path); +#endif #ifdef WITH_PDF_EXPORT case GUI_SAVE_PDF: return save_as_pdf(c, path); -- cgit v1.2.3