about summary refs log tree commit diff stats
path: root/ui-diff.c
diff options
context:
space:
mode:
authorChris Mayo2019-02-21 19:57:23 +0000
committerJason A. Donenfeld2019-02-23 00:09:17 +0100
commitbd0293f57015ede637b630fcaf4fc11e7697d777 (patch)
tree8777c66023013c75bcd35b8c5c68846057a08504 /ui-diff.c
parentui-ssdiff: resolve HTML5 validation errors (diff)
downloadcgit-bd0293f57015ede637b630fcaf4fc11e7697d777.tar.gz
cgit-bd0293f57015ede637b630fcaf4fc11e7697d777.zip
ui-diff,ui-tag: don't use htmlf with non-formatted strings
Signed-off-by: Chris Mayo <aklhfex@gmail.com>
Diffstat (limited to 'ui-diff.c')
-rw-r--r--ui-diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-diff.c b/ui-diff.c index 70dcc91..c60aefd 100644 --- a/ui-diff.c +++ b/ui-diff.c
@@ -82,7 +82,7 @@ static void print_fileinfo(struct fileinfo *info)
82 } 82 }
83 83
84 html("<tr>"); 84 html("<tr>");
85 htmlf("<td class='mode'>"); 85 html("<td class='mode'>");
86 if (is_null_oid(info->new_oid)) { 86 if (is_null_oid(info->new_oid)) {
87 cgit_print_filemode(info->old_mode); 87 cgit_print_filemode(info->old_mode);
88 } else { 88 } else {