From 0dab93fe7652dd1f1c656356a62f01d4053bb2ff Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 20 Jan 2004 19:08:34 +0000 Subject: [project @ 2004-01-20 19:08:34 by jmb] Allow toggling of POST support. Add new toolbar icon numbers to riscos/gui.h svn path=/import/netsurf/; revision=490 --- css/css.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'css/css.c') diff --git a/css/css.c b/css/css.c index c46214669..d52b1f7d0 100644 --- a/css/css.c +++ b/css/css.c @@ -170,7 +170,10 @@ void css_revive(struct content *c, unsigned int width, unsigned int height) c->data.css.import_content[i] = fetchcache( c->data.css.import_url[i], c->url, css_atimport_callback, c, (void*)i, - c->width, c->height, true, 0, 0 + c->width, c->height, true +#ifdef WITH_POST + , 0, 0 +#endif #ifdef WITH_COOKIES , false #endif @@ -340,7 +343,10 @@ void css_atimport(struct content *c, struct css_node *node) c->data.css.import_url[i] = url1; c->data.css.import_content[i] = fetchcache( c->data.css.import_url[i], c->url, css_atimport_callback, - c, (void*)i, c->width, c->height, true, 0, 0 + c, (void*)i, c->width, c->height, true +#ifdef WITH_POST + , 0, 0 +#endif #ifdef WITH_COOKIES , false #endif @@ -392,7 +398,10 @@ void css_atimport_callback(content_msg msg, struct content *css, c->data.css.import_url[i] = xstrdup(error); c->data.css.import_content[i] = fetchcache( c->data.css.import_url[i], c->url, css_atimport_callback, - c, (void*)i, css->width, css->height, true, 0, 0 + c, (void*)i, css->width, css->height, true +#ifdef WITH_POST + , 0, 0 +#endif #ifdef WITH_COOKIES , false #endif -- cgit v1.2.3