From f2382990742bff816ec54883e6204ededc378e7f Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Thu, 6 Aug 2026 21:09:57 -1000 Subject: Settle the names, types and layout of the sources --- source/ui-refs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/ui-refs.c') diff --git a/source/ui-refs.c b/source/ui-refs.c index c64b344..932ba6d 100644 --- a/source/ui-refs.c +++ b/source/ui-refs.c @@ -153,8 +153,8 @@ static void print_ref_pager(int ofs, int pagesize, int count, const char *path) html(""); if (ofs > 0) { - url = cgit_pageurl(ctx.qry.repo, fmt("refs/%s", path), - fmt("ofs=%d", ofs > pagesize ? ofs - pagesize : 0)); + url = cgit_pageurl(ctx.qry.repo, cgit_fmt("refs/%s", path), + cgit_fmt("ofs=%d", ofs > pagesize ? ofs - pagesize : 0)); html("[prev] "); @@ -163,8 +163,8 @@ static void print_ref_pager(int ofs, int pagesize, int count, const char *path) htmlf("%d - %d of %d", ofs + 1, ofs + pagesize < count ? ofs + pagesize : count, count); if (ofs + pagesize < count) { - url = cgit_pageurl(ctx.qry.repo, fmt("refs/%s", path), - fmt("ofs=%d", ofs + pagesize)); + url = cgit_pageurl(ctx.qry.repo, cgit_fmt("refs/%s", path), + cgit_fmt("ofs=%d", ofs + pagesize)); html(" [next]"); -- cgit v2.8.0