1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-06 09:26:44 +02:00

Load conference titles on startup for saved conferences (#43)

This commit is contained in:
JFreegman
2019-06-30 14:51:13 -04:00
committed by GitHub
parent 12b9cd2386
commit bb2257973e
7 changed files with 27 additions and 6 deletions

View File

@ -539,6 +539,10 @@ int check_file_signature(const char *signature, size_t size, FILE *fp)
/* sets window title in tab bar. */
void set_window_title(ToxWindow *self, const char *title, int len)
{
if (len <= 0 || !title) {
return;
}
char cpy[TOXIC_MAX_NAME_LENGTH + 1];
if (self->is_groupchat) { /* keep groupnumber in title */