summaryrefslogtreecommitdiff
path: root/render/textplain.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/textplain.c')
-rw-r--r--render/textplain.c9
1 files changed, 5 insertions, 4 deletions
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 <assert.h>
@@ -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);
}