From 9115136fcafa01b3d37f19f11e08d7ba18202b50 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Wed, 30 Jun 2021 09:48:25 -0400 Subject: Fixed a typo in `get_comment_len()`. --- git.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-13-gbd6f