X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/63816ec59748c622623f20e653a7bed87f4f05a4..119397b175874bd606952e93b7249ae4ffb9afbe:/ui-repolist.c
diff --git a/ui-repolist.c b/ui-repolist.c
index d56654d..0a0b6ca 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -94,7 +94,7 @@ int is_in_url(struct cgit_repo *repo)
void print_sort_header(const char *title, const char *sort)
{
- htmlf("
| ",
columns);
- html_txt(ctx.repo->section);
+ html_txt(section);
html(" | ");
- last_section = ctx.repo->section;
+ last_section = section;
}
htmlf("| ",
- !sorted && ctx.repo->section ? "sublevel-repo" : "toplevel-repo");
+ !sorted && section ? "sublevel-repo" : "toplevel-repo");
cgit_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL);
html(" | ");
html_link_open(cgit_repourl(ctx.repo->url), NULL, NULL);
|