From 4238c20e726aa14c28d4437dbe0af26b066740bd Mon Sep 17 00:00:00 2001 From: Jfreegman Date: Sat, 15 Nov 2014 15:59:19 -0500 Subject: [PATCH] api update --- src/group_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/group_commands.c b/src/group_commands.c index 8795fde..cc8374a 100644 --- a/src/group_commands.c +++ b/src/group_commands.c @@ -33,7 +33,7 @@ void cmd_set_title(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*arg char title[MAX_STR_SIZE]; if (argc < 1) { - int tlen = tox_group_get_title(m, self->num, (uint8_t *) title); + int tlen = tox_group_get_title(m, self->num, (uint8_t *) title, TOX_MAX_NAME_LENGTH); if (tlen != -1) { title[tlen] = '\0';