about summary refs log tree commit diff stats
path: root/src/otr
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-10-15 17:07:15 +0100
committerJames Booth <boothj5@gmail.com>2016-10-15 17:07:15 +0100
commit9d075c980597306aec6e167bd84379e8211b4135 (patch)
tree362a21bd195b6d4e4b59642cc706fc7f80078670 /src/otr
parent864939b809ce1fc2d5999316dddd0786aaac9d48 (diff)
downloadprofani-tty-9d075c980597306aec6e167bd84379e8211b4135.tar.gz
Remove ui_win_error_line
Diffstat (limited to 'src/otr')
-rw-r--r--src/otr/otr.c4
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;
     }