diff options
author | John Keeping | 2014-10-05 10:59:03 +0100 |
---|---|---|
committer | Lukas Fleischer | 2014-12-13 12:38:42 +0100 |
commit | 03f537f1a134c8578ae4c16055596539fbbcc220 (patch) | |
tree | 4c16fece25d645a7e52565d82833528d3c22d240 /ui-commit.c | |
parent | eeddb5bc0905d4728001a111a9b1eb60ecccf9bd (diff) | |
download | cgit-03f537f1a134c8578ae4c16055596539fbbcc220.tar.gz cgit-03f537f1a134c8578ae4c16055596539fbbcc220.tar.bz2 cgit-03f537f1a134c8578ae4c16055596539fbbcc220.zip |
ui-shared: remove toggle_ssdiff arg to cgit_diff_link()
This argument is never used with a value other than zero, so remove it
and simplify the code.
Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'ui-commit.c')
-rw-r--r-- | ui-commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-commit.c b/ui-commit.c index ec99264..d5a888d 100644 --- a/ui-commit.c +++ b/ui-commit.c | |||
@@ -99,7 +99,7 @@ void cgit_print_commit(char *hex, const char *prefix) | |||
99 | cgit_commit_link(tmp2, NULL, NULL, ctx.qry.head, tmp, prefix); | 99 | cgit_commit_link(tmp2, NULL, NULL, ctx.qry.head, tmp, prefix); |
100 | html(" ("); | 100 | html(" ("); |
101 | cgit_diff_link("diff", NULL, NULL, ctx.qry.head, hex, | 101 | cgit_diff_link("diff", NULL, NULL, ctx.qry.head, hex, |
102 | sha1_to_hex(p->item->object.sha1), prefix, 0); | 102 | sha1_to_hex(p->item->object.sha1), prefix); |
103 | html(")</td></tr>"); | 103 | html(")</td></tr>"); |
104 | parents++; | 104 | parents++; |
105 | } | 105 | } |