about summary refs log tree commit diff stats
path: root/ui-shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui-shared.c b/ui-shared.c index 0b7937c..0bbe39b 100644 --- a/ui-shared.c +++ b/ui-shared.c
@@ -345,7 +345,6 @@ void cgit_repo_link(const char *name, const char *title, const char *class,
345 reporevlink(NULL, name, title, class, head, NULL, NULL); 345 reporevlink(NULL, name, title, class, head, NULL, NULL);
346} 346}
347 347
348
349void cgit_summary_link(const char *name, const char *title, const char *class, 348void cgit_summary_link(const char *name, const char *title, const char *class,
350 const char *head) 349 const char *head)
351{ 350{
@@ -1022,7 +1021,7 @@ static void print_header(void)
1022 if (ctx.repo) { 1021 if (ctx.repo) {
1023 cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1); 1022 cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1);
1024 html(" : "); 1023 html(" : ");
1025 cgit_summary_link(ctx.repo->name, NULL, NULL, NULL); 1024 cgit_repo_link(ctx.repo->name, ctx.repo->name, NULL, NULL);
1026 if (ctx.env.authenticated) { 1025 if (ctx.env.authenticated) {
1027 html("</td><td class='form'>"); 1026 html("</td><td class='form'>");
1028 html("<form method='get'>\n"); 1027 html("<form method='get'>\n");