From ce0d5294d5898b6100269bd39d38c0884d5fd4b4 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sat, 27 Dec 2003 20:15:23 +0000 Subject: [project @ 2003-12-27 20:15:22 by bursa] Use charset from Content-Type header. svn path=/import/netsurf/; revision=460 --- render/textplain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'render/textplain.c') diff --git a/render/textplain.c b/render/textplain.c index d0b0a981b..524865846 100644 --- a/render/textplain.c +++ b/render/textplain.c @@ -18,9 +18,9 @@ static const char header[] = "
";
 static const char footer[] = "
"; -void textplain_create(struct content *c) +void textplain_create(struct content *c, const char *params[]) { - html_create(c); + html_create(c, params); htmlParseChunk(c->data.html.parser, header, sizeof(header) - 1, 0); } -- cgit v1.2.3