1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-05 20:16:44 +02:00

group title fixes and api update

This commit is contained in:
Jfreegman
2014-11-15 15:55:45 -05:00
parent 1bd880708b
commit 4e177d60b0
7 changed files with 24 additions and 8 deletions

View File

@ -384,7 +384,7 @@ void set_window_title(ToxWindow *self, const char *title, int len)
char cpy[TOXIC_MAX_NAME_LENGTH + 1];
if (self->is_groupchat) /* keep groupnumber in title */
snprintf(cpy, sizeof(cpy), "%d-%s", self->num, title);
snprintf(cpy, sizeof(cpy), "%d %s", self->num, title);
else
snprintf(cpy, sizeof(cpy), "%s", title);