1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-30 02:13:28 +01:00

Merge pull request #211 from mannol1/master

Fix bug
This commit is contained in:
mannol1 2014-08-02 19:22:45 +02:00
commit fa023c6a99

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);
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
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);
}