Hopefully won't truncate array names again

This commit is contained in:
twinaphex 2016-09-01 05:52:38 +02:00
parent 9037473c7e
commit 27fb3ec1af

View File

@ -1783,7 +1783,7 @@ static bool config_load_file(const char *path, bool set_defaults,
if (!array_settings[i].handle)
continue;
config_get_array(conf, array_settings[i].ident,
array_settings[i].ptr, sizeof(array_settings[i].ptr));
array_settings[i].ptr, PATH_MAX_LENGTH);
}
/* Path settings */