From 8edb43af7dbf0b28892f9d8a8d8ddae523e41b73 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Tue, 25 Feb 2003 21:00:27 +0000 Subject: [project @ 2003-02-25 21:00:27 by bursa] Bug fixes, experimental JPEG support. svn path=/import/netsurf/; revision=100 --- render/textplain.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'render/textplain.c') diff --git a/render/textplain.c b/render/textplain.c index c5407c6f5..84875804c 100644 --- a/render/textplain.c +++ b/render/textplain.c @@ -1,5 +1,5 @@ /** - * $Id: textplain.c,v 1.1 2003/02/09 12:58:15 bursa Exp $ + * $Id: textplain.c,v 1.2 2003/02/25 21:00:27 bursa Exp $ */ #include @@ -30,23 +30,24 @@ void textplain_process_data(struct content *c, char *data, unsigned long size) int textplain_convert(struct content *c, unsigned int width, unsigned int height) { htmlParseChunk(c->data.html.parser, footer, sizeof(footer), 0); + c->type = CONTENT_HTML; return html_convert(c, width, height); } void textplain_revive(struct content *c, unsigned int width, unsigned int height) { - html_revive(c, width, height); + assert(0); } void textplain_reformat(struct content *c, unsigned int width, unsigned int height) { - html_reformat(c, width, height); + assert(0); } void textplain_destroy(struct content *c) { - html_destroy(c); + assert(0); } -- cgit v1.2.3