1
0
mirror of https://github.com/Tha14/toxic.git synced 2026-01-27 19:13:15 +01:00

allow line_info_add to take formatted strings with variable # of args

This commit is contained in:
Jfreegman
2014-07-24 22:43:32 -04:00
parent 8d8df585ad
commit b68deef6db
16 changed files with 199 additions and 207 deletions

View File

@@ -50,7 +50,7 @@ static void set_max_file_senders_index(void)
static void close_file_sender(ToxWindow *self, Tox *m, int i, char *msg, int CTRL, int filenum, int32_t friendnum)
{
if (self->chatwin != NULL)
line_info_add(self, NULL, NULL, NULL, msg, SYS_MSG, 0, 0);
line_info_add(self, NULL, NULL, NULL, SYS_MSG, 0, 0, msg);
tox_file_send_control(m, friendnum, 0, filenum, CTRL, 0, 0);