Oops, fix silly mistake

This commit is contained in:
Agent X 2023-11-19 19:41:49 -05:00
parent 508ad40e44
commit 706f6ab1f8

View file

@ -601,10 +601,10 @@ NEXT_OPTION:
}
void configfile_load(void) {
#ifdef DEVELOPMENT
configfile_load_internal(configfile_name(), NULL);
#else
bool configReadError = false;
#ifdef DEVELOPMENT
configfile_load_internal(configfile_name(), &configReadError);
#else
configfile_load_internal(configfile_name(), &configReadError);
if (configReadError) {
configfile_load_internal(configfile_backup_name(), &configReadError);