diff options
context:
space:
mode:
Diffstat (limited to 'source/ui-blame.c')
-rw-r--r--source/ui-blame.c8
1 file changed, 3 insertions, 5 deletions
diff --git a/source/ui-blame.c b/source/ui-blame.c
index 5d88f94..9395098 100644
--- a/source/ui-blame.c
+++ b/source/ui-blame.c
@@ -275,10 +275,8 @@ static void print_blame_page(const struct object_id *oid, const char *path,
return;
}
if (ctx.cfg.max_blob_size && size / 1024 > (unsigned long)ctx.cfg.max_blob_size) {
- cgit_print_error_page(
- 413, "Content Too Large", "blob size (%luKB) exceeds display size limit (%dKB)",
- size / 1024, ctx.cfg.max_blob_size
- );
+ cgit_print_error_page(413, "Content Too Large", "Blob size (%lu KB) exceeds the limit (%d KB)",
+ size / 1024, ctx.cfg.max_blob_size);
return;
}
@@ -313,7 +311,7 @@ static void print_blame_page(const struct object_id *oid, const char *path,
free(ent);
}
free((void *)sb.final_buf);
- html("<div class='error'>blob is binary.</div>");
+ html("<div class='error'>Blob is binary</div>");
goto cleanup;
}
html("<table class='blame blob'>\n<tr>\n");