Fix json header issue.

This commit is contained in:
J-D-K
2025-10-01 20:10:46 -04:00
parent c677189452
commit 98c00ff858
5 changed files with 7 additions and 11 deletions

View File

@@ -1,8 +1,8 @@
#include "config/ConfigContext.hpp"
#include "JSON.hpp"
#include "config/keys.hpp"
#include "error.hpp"
#include "json.hpp"
#include "logging/logger.hpp"
#include "stringutil.hpp"
@@ -201,9 +201,7 @@ bool config::ConfigContext::load_config_file()
else if (scaling) { m_animationScaling = json_object_get_double(value); }
else if (favorites) { ConfigContext::read_array_to_set(m_favorites, value); }
else if (blacklist) { ConfigContext::read_array_to_set(m_blacklist, value); }
else {
m_configMap[key] = json_object_get_uint64(value);
}
else { m_configMap[key] = json_object_get_uint64(value); }
json_object_iter_next(&configIter);
}