diff options
author | James Booth <boothj5@gmail.com> | 2016-10-15 18:29:02 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-10-15 18:29:02 +0100 |
commit | 8f1d3ab55c6108333351698518325b6291226e07 (patch) | |
tree | 18caad39aae35578f4aff6f297e0f5aa71356f10 /src/otr | |
parent | 3612270e90db7a824e7f818bb70c88021a1bc16a (diff) | |
download | profani-tty-8f1d3ab55c6108333351698518325b6291226e07.tar.gz |
Add win_print
Diffstat (limited to 'src/otr')
-rw-r--r-- | src/otr/otr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/otr/otr.c b/src/otr/otr.c index 295c5f4f..0dc56a59 100644 --- a/src/otr/otr.c +++ b/src/otr/otr.c @@ -352,14 +352,14 @@ otr_on_message_send(ProfChatWin *chatwin, const char *const message, gboolean re free(id); return TRUE; } else { - win_printf_line((ProfWin*)chatwin, THEME_ERROR, '-', "%s", "Failed to encrypt and send message."); + win_println((ProfWin*)chatwin, THEME_ERROR, '-', "%s", "Failed to encrypt and send message."); return TRUE; } } // show error if not secure and policy always if (policy == PROF_OTRPOLICY_ALWAYS) { - win_printf_line((ProfWin*)chatwin, THEME_ERROR, '-', "%s", "Failed to send message. OTR policy set to: always"); + win_println((ProfWin*)chatwin, THEME_ERROR, '-', "%s", "Failed to send message. OTR policy set to: always"); return TRUE; } |