From 1c08527bd6f225924ba3e2d301239e790dbccb8b Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 5 Aug 2026 21:54:15 -1000 Subject: Settle the names, types and layout of the sources --- source/ui-repolist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/ui-repolist.c') diff --git a/source/ui-repolist.c b/source/ui-repolist.c index c54ca32..e18e46e 100644 --- a/source/ui-repolist.c +++ b/source/ui-repolist.c @@ -18,7 +18,7 @@ static time_t read_agefile(const char *path) char *buf = NULL; struct strbuf date_buf = STRBUF_INIT; - if (read_first_line(path, &buf, &size)) { + if (cgit_read_first_line(path, &buf, &size)) { free(buf); return 0; } @@ -187,7 +187,7 @@ static void print_pager(int items, int pagelen, char *search, char *sort) for (i = 0, ofs = 0; ofs < items; i++, ofs = i * pagelen) { class = (ctx.qry.ofs == ofs) ? "current" : NULL; html("
  • "); - cgit_index_link(fmt("[%d]", i + 1), fmt("Page %d", i + 1), + cgit_index_link(cgit_fmt("[%d]", i + 1), cgit_fmt("Page %d", i + 1), class, search, sort, ofs, 0); html("
  • "); } -- cgit 2.12.1