summaryrefslogtreecommitdiff
path: root/render/textplain.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/textplain.c')
-rw-r--r--render/textplain.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/render/textplain.c b/render/textplain.c
index 2a31c6272..0879841fe 100644
--- a/render/textplain.c
+++ b/render/textplain.c
@@ -301,7 +301,8 @@ bool textplain_convert(struct content *c)
parserutils_inputstream_destroy(stream);
c->data.textplain.inputstream = NULL;
- c->status = CONTENT_STATUS_DONE;
+ content_set_ready(c);
+ content_set_done(c);
content_set_status(c, messages_get("Done"));
return true;