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:
@ -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);
|
||||
|
Reference in New Issue
Block a user