mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-08-25 03:46:05 -05:00
Fix json header issue.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user