Fix RISC OS and Amiga builds.

The sooner this stuff is in the core, the better.

svn path=/trunk/netsurf/; revision=8827
This commit is contained in:
John Mark Bell 2009-07-27 18:01:54 +00:00
parent 3be8193500
commit bbdb07fe16
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;