From 13fe4fe9fff3aee7d96a92fcddf732a95e918a90 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Fri, 27 Jun 2014 17:55:59 -0700 Subject: [PATCH] Actually load the platform config rather than the default config twice --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 5ed15e0c0..eac880e7e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -197,7 +197,7 @@ bool AegisubApp::OnInit() { try { if (!config::opt) config::opt = new agi::Options(config::path->Decode("?user/config.json"), GET_DEFAULT_CONFIG(default_config)); - boost::interprocess::ibufferstream stream((const char *)default_config, sizeof(default_config)); + boost::interprocess::ibufferstream stream((const char *)default_config_platform, sizeof(default_config_platform)); config::opt->ConfigNext(stream); } catch (agi::Exception& e) { LOG_E("config/init") << "Caught exception: " << e.GetMessage();