mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-06 18:06:35 +01: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