summaryrefslogtreecommitdiffabout
path: root/ui-commit.c
Unidiff
Diffstat (limited to 'ui-commit.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-commit.c2
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
@@ -193,13 +193,13 @@ void cgit_print_commit(char *hex)
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>");