diff options
-rw-r--r-- | src/ui/chatwin.c | 2 | ||||
-rw-r--r-- | src/ui/window.c | 4 | ||||
-rw-r--r-- | 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); |