summaryrefslogtreecommitdiff
path: root/desktop/save_complete.c
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2013-02-27 03:11:10 +0000
committerJohn-Mark Bell <jmb@netsurf-browser.org>2013-02-27 03:11:10 +0000
commit97978e858b396157540d9e0bff91676bb8dcd500 (patch)
tree6903562cead21266639a336992454c2a3d6829e3 /desktop/save_complete.c
parent21cbb49a6bb9e2ad23b7c8d4ab6a9536dc4a2781 (diff)
downloadnetsurf-97978e858b396157540d9e0bff91676bb8dcd500.tar.gz
netsurf-97978e858b396157540d9e0bff91676bb8dcd500.tar.bz2
Use custom fetcher for inline CSS
Diffstat (limited to 'desktop/save_complete.c')
-rw-r--r--desktop/save_complete.c13
1 files changed, 2 insertions, 11 deletions
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,