-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 bf5e6dc..50e9e11 100644 --- a/ui-commit.c +++ b/ui-commit.c | |||
@@ -191,17 +191,17 @@ void cgit_print_commit(char *hex) | |||
191 | cgit_query_head, sha1_to_hex(p->item->object.sha1)); | 191 | cgit_query_head, sha1_to_hex(p->item->object.sha1)); |
192 | html(" ("); | 192 | html(" ("); |
193 | cgit_diff_link("diff", NULL, NULL, cgit_query_head, hex, | 193 | cgit_diff_link("diff", NULL, NULL, cgit_query_head, hex, |
194 | sha1_to_hex(p->item->object.sha1), NULL); | 194 | sha1_to_hex(p->item->object.sha1), NULL); |
195 | html(")</td></tr>"); | 195 | html(")</td></tr>"); |
196 | } | 196 | } |
197 | if (cgit_repo->snapshots) { | 197 | if (cgit_repo->snapshots) { |
198 | html("<tr><th>download</th><td colspan='2' class='sha1'>"); | 198 | html("<tr><th>download</th><td colspan='2' class='sha1'>"); |
199 | cgit_print_snapshot_links(cgit_query_repo,hex); | 199 | cgit_print_snapshot_links(cgit_query_repo,hex,cgit_repo->snapshots); |
200 | html("</td></tr>"); | 200 | html("</td></tr>"); |
201 | } | 201 | } |
202 | html("</table>\n"); | 202 | html("</table>\n"); |
203 | html("<div class='commit-subject'>"); | 203 | html("<div class='commit-subject'>"); |
204 | html_txt(info->subject); | 204 | html_txt(info->subject); |
205 | html("</div>"); | 205 | html("</div>"); |
206 | html("<div class='commit-msg'>"); | 206 | html("<div class='commit-msg'>"); |
207 | html_txt(info->msg); | 207 | html_txt(info->msg); |