summaryrefslogtreecommitdiff
path: root/css/css.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-01-20 19:08:34 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-01-20 19:08:34 +0000
commit0dab93fe7652dd1f1c656356a62f01d4053bb2ff (patch)
tree3b3d7bc784d3f39f2474b231e4727288144b5902 /css/css.c
parent10b546f7f974ac8e157426ee42d7abdd52dbf14b (diff)
downloadnetsurf-0dab93fe7652dd1f1c656356a62f01d4053bb2ff.tar.gz
netsurf-0dab93fe7652dd1f1c656356a62f01d4053bb2ff.tar.bz2
[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
Diffstat (limited to 'css/css.c')
-rw-r--r--css/css.c15
1 files changed, 12 insertions, 3 deletions
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