From bbdb07fe16af301f803947e9b063a2ff2294c0fe Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 27 Jul 2009 18:01:54 +0000 Subject: [PATCH] Fix RISC OS and Amiga builds. The sooner this stuff is in the core, the better. svn path=/trunk/netsurf/; revision=8827 --- amiga/save_complete.c | 4 ++-- riscos/save_complete.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/amiga/save_complete.c b/amiga/save_complete.c index 2f5ebd584..29b58ba3b 100755 --- a/amiga/save_complete.c +++ b/amiga/save_complete.c @@ -121,7 +121,7 @@ bool save_complete_html(struct content *c, const char *path, bool index) /* save stylesheets, ignoring the base and adblocking sheets */ for (i = STYLESHEET_START; i != c->data.html.stylesheet_count; i++) { - struct content *css = c->data.html.stylesheet_content[i]; + struct content *css = c->data.html.stylesheets[i].c; char *source; int source_len; bool is_style; @@ -320,7 +320,7 @@ bool save_imported_sheets(struct content *c, const char *path) BPTR fh = 0; for (j = 0; j != c->data.css.import_count; j++) { - struct content *css = c->data.css.imports[j]; + struct content *css = c->data.css.imports[j].c; if (!css) continue; diff --git a/riscos/save_complete.c b/riscos/save_complete.c index 7342a7c20..3ac559784 100644 --- a/riscos/save_complete.c +++ b/riscos/save_complete.c @@ -121,7 +121,7 @@ bool save_complete_html(struct content *c, const char *path, bool index) /* save stylesheets, ignoring the base and adblocking sheets */ for (i = STYLESHEET_START; i != c->data.html.stylesheet_count; i++) { - struct content *css = c->data.html.stylesheet_content[i]; + struct content *css = c->data.html.stylesheets[i].c; char *source; int source_len; bool is_style; @@ -265,7 +265,7 @@ bool save_imported_sheets(struct content *c, const char *path) os_error *error; for (j = 0; j != c->data.css.import_count; j++) { - struct content *css = c->data.css.imports[j]; + struct content *css = c->data.css.imports[j].c; if (!css) continue;