From 97978e858b396157540d9e0bff91676bb8dcd500 Mon Sep 17 00:00:00 2001 From: John-Mark Bell Date: Wed, 27 Feb 2013 03:11:10 +0000 Subject: Use custom fetcher for inline CSS --- desktop/save_complete.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'desktop/save_complete.c') diff --git a/desktop/save_complete.c b/desktop/save_complete.c index 621544ded..0c67654a6 100644 --- a/desktop/save_complete.c +++ b/desktop/save_complete.c @@ -361,19 +361,10 @@ static bool save_complete_save_imported_sheets(save_complete_ctx *ctx, static bool save_complete_save_html_stylesheet(save_complete_ctx *ctx, struct html_stylesheet *sheet) { - if (sheet->type == HTML_STYLESHEET_INTERNAL) { - if (save_complete_save_imported_sheets(ctx, - sheet->data.internal.data->imports, - sheet->data.internal.data->import_count) == false) - return false; - - return true; - } - - if (sheet->data.external == NULL) + if (sheet->sheet == NULL) return true; - return save_complete_save_stylesheet(ctx, sheet->data.external); + return save_complete_save_stylesheet(ctx, sheet->sheet); } static bool save_complete_save_html_stylesheets(save_complete_ctx *ctx, -- cgit v1.2.3