1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-26 16:03:27 +01:00

api update

This commit is contained in:
Jfreegman 2014-11-15 15:59:19 -05:00
parent 4e177d60b0
commit 4238c20e72
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -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';