diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Settle the names, types and layout of the sources
Diffstat (limited to '')
-rw-r--r--source/ui-patch.c4
1 file changed, 2 insertions, 2 deletions
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