From dd4ece96204e960863d29137de931b53716e34a1 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 9 Jun 2022 17:54:28 -0500 Subject: Un-fuck the patch --- ui-repolist.c | 2 +- ui-shared.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ui-repolist.c b/ui-repolist.c index 97b11c5..03f513c 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -321,7 +321,7 @@ void cgit_print_repolist(void) } htmlf("", !sorted && section ? "sublevel-repo" : "toplevel-repo"); - cgit_summary_link(ctx.repo->name, NULL, NULL, NULL); + cgit_repo_link(ctx.repo->name, ctx.repo->name, NULL, NULL); html(""); repourl = cgit_repourl(ctx.repo->url); html_link_open(repourl, NULL, NULL); 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, reporevlink(NULL, name, title, class, head, NULL, NULL); } - void cgit_summary_link(const char *name, const char *title, const char *class, const char *head) { @@ -1022,7 +1021,7 @@ static void print_header(void) if (ctx.repo) { cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1); html(" : "); - cgit_summary_link(ctx.repo->name, NULL, NULL, NULL); + cgit_repo_link(ctx.repo->name, ctx.repo->name, NULL, NULL); if (ctx.env.authenticated) { html(""); html("
\n"); -- cgit 1.4.1-21-gabe81