mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 16:03:27 +01:00
api update
This commit is contained in:
parent
4e177d60b0
commit
4238c20e72
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user