summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2021-06-30 09:48:25 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2021-06-30 09:48:25 -0400
commit9115136fcafa01b3d37f19f11e08d7ba18202b50 (patch)
treec69ab59b5de4d15076fd64a4ad030a32ad48d7d7 /git.c
parentef7b5453c1e76a66770c5da6c2770157a19327cc (diff)
Fixed a typo in `get_comment_len()`.
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index 3cb7656..02889ae 100644
--- a/git.c
+++ b/git.c
@@ -182,7 +182,7 @@ int create_info_file(pull_request *pr, const char *pr_root) {
int get_comment_len(comment *comment) {
struct tm tm;
- int len = format_len("title: %s\n", pr->title);
+ int len = format_len("title: %s\n", comment->title);
localtime_r(&comment->date, &tm);