diff options
author | Chris Mayo | 2019-02-21 19:57:23 +0000 |
---|---|---|
committer | Jason A. Donenfeld | 2019-02-23 00:09:17 +0100 |
commit | bd0293f57015ede637b630fcaf4fc11e7697d777 (patch) | |
tree | 8777c66023013c75bcd35b8c5c68846057a08504 /ui-diff.c | |
parent | 5bd7e9bc1b6749bbb5220d6c3a990469a7b839ae (diff) | |
download | cgit-bd0293f57015ede637b630fcaf4fc11e7697d777.tar.gz cgit-bd0293f57015ede637b630fcaf4fc11e7697d777.tar.bz2 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |