Store all settings in .INI

This commit is contained in:
erorcun committed 2021-01-23 15:59:38 +03:00
1 parent f85b5e99ed
commit 73f1340afb
14 files changed
+432 -130

No files matched your search

+5
View File
@@ -2142,6 +2142,7 @@ WinMain(HINSTANCE instance,
ShowWindow(PSGLOBAL(window), cmdShow);
UpdateWindow(PSGLOBAL(window));
// This part is needed because controller initialisation overwrites loaded settings.
{
CFileMgr::SetDirMyDocuments();
@@ -2154,6 +2155,10 @@ WinMain(HINSTANCE instance,
}
CFileMgr::SetDir("");
#ifdef LOAD_INI_SETTINGS
LoadINIControllerSettings();
#endif
}
SetErrorMode(SEM_FAILCRITICALERRORS);