-rw-r--r-- | ui-shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c index 9ec646b..5192800 100644 --- a/ui-shared.c +++ b/ui-shared.c | |||
@@ -408,13 +408,13 @@ int print_archive_ref(const char *refname, const unsigned char *sha1, | |||
408 | } else if (obj->type != OBJ_BLOB) { | 408 | } else if (obj->type != OBJ_BLOB) { |
409 | return 0; | 409 | return 0; |
410 | } else { | 410 | } else { |
411 | hashcpy(fileid, sha1); | 411 | hashcpy(fileid, sha1); |
412 | } | 412 | } |
413 | if (!*header) { | 413 | if (!*header) { |
414 | html("<p><h1>download</h1>"); | 414 | html("<h1>download</h1>\n"); |
415 | *header = 1; | 415 | *header = 1; |
416 | } | 416 | } |
417 | url = cgit_pageurl(cgit_query_repo, "blob", | 417 | url = cgit_pageurl(cgit_query_repo, "blob", |
418 | fmt("id=%s&path=%s", sha1_to_hex(fileid), | 418 | fmt("id=%s&path=%s", sha1_to_hex(fileid), |
419 | buf)); | 419 | buf)); |
420 | html_link_open(url, NULL, "menu"); | 420 | html_link_open(url, NULL, "menu"); |