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

fix segfault on unknown long option

This commit is contained in:
Jfreegman
2014-08-27 14:30:06 -04:00
parent b1c7e21ca9
commit 155e194174
2 changed files with 2 additions and 1 deletions

View File

@ -201,7 +201,7 @@ int settings_load(struct user_settings *s, const char *patharg)
{
config_t cfg[1];
config_setting_t *setting;
const char *str;
const char *str = NULL;
/* Load default settings */
ui_defaults(s);