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-patch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/ui-patch.c') diff --git a/source/ui-patch.c b/source/ui-patch.c index 6d8a8ad..29432ac 100644 --- a/source/ui-patch.c +++ b/source/ui-patch.c @@ -69,7 +69,7 @@ void cgit_print_patch(const char *new_rev, const char *old_rev, oid_to_hex(&new_rev_oid)); } - patchname = fmt("%s.patch", rev_range); + patchname = cgit_fmt("%s.patch", rev_range); ctx.page.mimetype = "text/plain"; ctx.page.filename = patchname; cgit_print_http_headers(); @@ -89,7 +89,7 @@ void cgit_print_patch(const char *new_rev, const char *old_rev, rev.diffopt.output_format |= DIFF_FORMAT_DIFFSTAT | DIFF_FORMAT_PATCH | DIFF_FORMAT_SUMMARY; if (prefix) - rev.diffopt.stat_sep = fmt("(limited to '%s')\n\n", prefix); + rev.diffopt.stat_sep = cgit_fmt("(limited to '%s')\n\n", prefix); setup_revisions(rev_argc, rev_argv, &rev, NULL); // A single commit resolves to a parent..commit range, so this only // bounds an explicit id/id2 range and keeps one request from -- cgit v2.8.0