#319: auto migration of old script settings

This commit is contained in:
Andrey Prygunkov committed 2016-12-16 21:03:59 +01:00
1 parent 9a92896678
commit ae7719e948
3 files changed
+84 -7

No files matched your search

+3 -1
View File
@@ -81,7 +81,7 @@ bool ScriptConfig::LoadConfig(Options::OptEntries* optEntries)
CString optname;
CString optvalue;
if (g_Options->SplitOptionString(buf, optname, optvalue))
if (Options::SplitOptionString(buf, optname, optvalue))
{
optEntries->emplace_back(optname, optvalue);
}
@@ -89,6 +89,8 @@ bool ScriptConfig::LoadConfig(Options::OptEntries* optEntries)
infile.Close();
Options::ConvertOldOptions(optEntries);
return true;
}