diff options
author | James Booth <boothj5@gmail.com> | 2016-10-15 17:07:15 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-10-15 17:07:15 +0100 |
commit | 9d075c980597306aec6e167bd84379e8211b4135 (patch) | |
tree | 362a21bd195b6d4e4b59642cc706fc7f80078670 /src/otr | |
parent | 864939b809ce1fc2d5999316dddd0786aaac9d48 (diff) | |
download | profani-tty-9d075c980597306aec6e167bd84379e8211b4135.tar.gz |
Remove ui_win_error_line
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 158e6d27..295c5f4f 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 { - ui_win_error_line((ProfWin*)chatwin, "Failed to encrypt and send message."); + win_printf_line((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) { - ui_win_error_line((ProfWin*)chatwin, "Failed to send message. OTR policy set to: always"); + win_printf_line((ProfWin*)chatwin, THEME_ERROR, '-', "%s", "Failed to send message. OTR policy set to: always"); return TRUE; } |