Call load_global even with an empty config to populate default values

This commit is contained in:
David Hrdlička
2025-08-21 19:14:33 +02:00
committed by GitHub
parent 76fada4f06
commit 1d97fd1274

View File

@@ -2023,12 +2023,10 @@ config_load_global(void)
if (global == NULL) {
global = ini_new();
lang_id = plat_language_code(DEFAULT_LANGUAGE);
config_log("Global config file not present or invalid!\n");
} else {
load_global();
}
load_global();
}
/* Load the specified or a default configuration file. */