aboutsummaryrefslogtreecommitdiffstats
path: root/ui-diff.c
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2019-02-21 20:57:23 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-02-23 00:09:17 +0100
commitbd0293f57015ede637b630fcaf4fc11e7697d777 (patch)
tree8777c66023013c75bcd35b8c5c68846057a08504 /ui-diff.c
parent5bd7e9bc1b6749bbb5220d6c3a990469a7b839ae (diff)
downloadcgit-bd0293f57015ede637b630fcaf4fc11e7697d777.tar.gz
cgit-bd0293f57015ede637b630fcaf4fc11e7697d777.tar.xz
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)
}
html("<tr>");
- htmlf("<td class='mode'>");
+ html("<td class='mode'>");
if (is_null_oid(info->new_oid)) {
cgit_print_filemode(info->old_mode);
} else {