1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 05:53:02 +01:00
This commit is contained in:
mannol 2014-08-02 19:21:40 +02:00
parent 0884954c84
commit f98e6bdcb4

View File

@ -167,9 +167,9 @@ static void chat_onMessage(ToxWindow *self, Tox *m, int32_t num, const char *msg
write_to_log(msg, nick, ctx->log, false); write_to_log(msg, nick, ctx->log, false);
if (self->active_box != -1) if (self->active_box != -1)
box_notify2(self, generic_message, NT_WNDALERT_1 | NT_NOFOCUS, self->active_box, msg); box_notify2(self, generic_message, NT_WNDALERT_1 | NT_NOFOCUS, self->active_box, "%s", msg);
else else
box_notify(self, generic_message, NT_WNDALERT_1 | NT_NOFOCUS, &self->active_box, nick, msg); box_notify(self, generic_message, NT_WNDALERT_1 | NT_NOFOCUS, &self->active_box, nick, "%s", msg);
} }