From 3e901aee996c702c3be063fd155c4be951db5d53 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 13 Feb 2020 11:48:11 +0100 Subject: [PATCH] Rename win_print_with_receipt() -> win_print_outgoing_with_receipt() --- src/ui/chatwin.c | 2 +- src/ui/window.c | 4 ++-- src/ui/window.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ui/chatwin.c b/src/ui/chatwin.c index 5606e5a0..bb651e5f 100644 --- a/src/ui/chatwin.c +++ b/src/ui/chatwin.c @@ -327,7 +327,7 @@ chatwin_outgoing_msg(ProfChatWin *chatwin, const char *const message, char *id, if (request_receipt && id) { //TODO: replace_id and id - win_print_with_receipt((ProfWin*)chatwin, enc_char, "me", message, id); + win_print_outgoing_with_receipt((ProfWin*)chatwin, enc_char, "me", message, id); } else { win_print_outgoing((ProfWin*)chatwin, enc_char, id, replace_id, "%s", message); } diff --git a/src/ui/window.c b/src/ui/window.c index 262c9e7e..4d369c3a 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -1381,11 +1381,11 @@ win_appendln_highlight(ProfWin *window, theme_item_t theme_item, const char *con void win_print_http_upload(ProfWin *window, const char *const message, char *url) { - win_print_with_receipt(window, '!', NULL, message, url); + win_print_outgoing_with_receipt(window, '!', NULL, message, url); } void -win_print_with_receipt(ProfWin *window, const char show_char, const char *const from, const char *const message, char *id) +win_print_outgoing_with_receipt(ProfWin *window, const char show_char, const char *const from, const char *const message, char *id) { GDateTime *time = g_date_time_new_now_local(); diff --git a/src/ui/window.h b/src/ui/window.h index 47a719fb..8bec554d 100644 --- a/src/ui/window.h +++ b/src/ui/window.h @@ -72,7 +72,7 @@ void win_print_history(ProfWin *window, GDateTime *timestamp, const char *const void win_print_http_upload(ProfWin *window, const char *const message, char *url); -void win_print_with_receipt(ProfWin *window, const char show_char, const char *const from, const char *const message, +void win_print_outgoing_with_receipt(ProfWin *window, const char show_char, const char *const from, const char *const message, char *id); void win_newline(ProfWin *window);