Diff options
Diffstat (limited to 'source/ui-shared.c')
| -rw-r--r-- | source/ui-shared.c | 4 |
1 file changed, 2 insertions, 2 deletions
diff --git a/source/ui-shared.c b/source/ui-shared.c index 1d09c26..5f5dcca 100644 --- a/source/ui-shared.c +++ b/source/ui-shared.c @@ -1808,7 +1808,7 @@ void cgit_print_snapshot_links(const struct cgit_repo *repo, const char *ref, co html("<span class='snapshot'>"); snapshot_link(filename.buf, NULL, NULL, NULL, NULL, filename.buf); if (cgit_snapshot_get_sig(ref, f)) { - strbuf_addstr(&filename, ".asc"); + strbuf_addstr(&filename, SIG_SUFFIX); html(" ("); snapshot_link("sig", NULL, NULL, NULL, NULL, filename.buf); html(")"); @@ -1820,7 +1820,7 @@ void cgit_print_snapshot_links(const struct cgit_repo *repo, const char *ref, co // the plain tar it expands to, which is the first // format in the table. strbuf_setlen(&filename, filename.len - strlen(f->suffix)); - strbuf_addstr(&filename, ".tar.asc"); + strbuf_addstr(&filename, ".tar" SIG_SUFFIX); html(" ("); snapshot_link("sig", NULL, NULL, NULL, NULL, filename.buf); html(")"); |
