diff options
context:
space:
mode:
Diffstat (limited to 'source/ui-summary.c')
-rw-r--r--source/ui-summary.c1
1 file changed, 0 insertions, 1 deletion
diff --git a/source/ui-summary.c b/source/ui-summary.c
index eb04ecd..61cd6ac 100644
--- a/source/ui-summary.c
+++ b/source/ui-summary.c
@@ -138,7 +138,6 @@ void cgit_print_repo_readme(const char *path)
mimetype = cgit_get_mimetype_for_filename(path);
if (mimetype && (starts_with(mimetype, "image/") || starts_with(mimetype, "video/"))) {
ctx.page.mimetype = mimetype;
- ctx.page.charset = NULL;
cgit_print_plain();
free(mimetype);
return;