mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-09-08 02:25:17 -05:00
Fix init order so ForceEnglish option actually works.
This commit is contained in:
@@ -60,6 +60,9 @@ JKSV::JKSV()
|
||||
ABORT_ON_FAILURE(JKSV::initialize_sdl());
|
||||
|
||||
ABORT_ON_FAILURE(curl::initialize());
|
||||
input::initialize();
|
||||
config::initialize();
|
||||
|
||||
ABORT_ON_FAILURE(strings::initialize()); // This is fatal now.
|
||||
|
||||
const char *translationFormat = strings::get_by_name(strings::names::TRANSLATION, 0);
|
||||
@@ -68,9 +71,6 @@ JKSV::JKSV()
|
||||
m_translationInfo = stringutil::get_formatted_string(translationFormat, author);
|
||||
m_buildString = stringutil::get_formatted_string("v. %02d.%02d.%04d", BUILD_MON, BUILD_DAY, BUILD_YEAR);
|
||||
|
||||
input::initialize();
|
||||
config::initialize();
|
||||
|
||||
// This needs the config init'd or read to work.
|
||||
JKSV::create_directories();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user