summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xamiga/save_complete.c4
-rw-r--r--riscos/save_complete.c4
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;