1
0
mirror of https://github.com/Tha14/toxic.git synced 2026-01-29 22:53:14 +01:00

fix small bug

This commit is contained in:
Jfreegman
2015-02-28 14:37:28 -05:00
parent 830ddb21b5
commit 4cc0805036
2 changed files with 3 additions and 5 deletions

View File

@@ -160,12 +160,10 @@ static void kill_groupchat_window(ToxWindow *self)
del_window(self);
}
/* Closes groupchat window and cleans up.
* If delete_group is true the group will be permanently deleted.
*/
/* Closes groupchat window and cleans up. */
void close_groupchat(ToxWindow *self, Tox *m, int groupnum, const char *partmessage, int length)
{
tox_group_delete(m, groupnum, (const uint8_t *) partmessage, (uint16_t) length);
tox_group_delete(m, groupnum, (uint8_t *) partmessage, (uint16_t) length);
free(groupchats[groupnum].peer_names);
free(groupchats[groupnum].peer_name_lengths);