1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-18 08:26:35 +01:00

fix segfault

This commit is contained in:
Jfreegman
2014-09-29 01:30:22 -04:00
parent 33cfca7ecc
commit 6248baf98b
2 changed files with 2 additions and 2 deletions

View File

@@ -1062,7 +1062,7 @@ int main(int argc, char *argv[])
print_init_messages(prompt);
cleanup_init_messages();
/* set user avatar from config file. if no valid path is supplied tox_unset_avatar is called */
/* set user avatar from config file. if no path is supplied tox_unset_avatar is called */
char avatarstr[MAX_STR_SIZE];
snprintf(avatarstr, sizeof(avatarstr), "/avatar \"%s\"", user_settings->avatar_path);
execute(prompt->chatwin->history, prompt, m, avatarstr, GLOBAL_COMMAND_MODE);