diff --git a/SkinInstaller/DialogInstall.cpp b/SkinInstaller/DialogInstall.cpp index 5afa1f06..b8b37c2e 100644 --- a/SkinInstaller/DialogInstall.cpp +++ b/SkinInstaller/DialogInstall.cpp @@ -1001,8 +1001,7 @@ void CDialogInstall::KeepVariables() std::wstring fromPath = g_Data.skinsPath + L"@Backup\\"; fromPath += m_VariablesFiles[i]; std::wstring toPath = g_Data.skinsPath + m_VariablesFiles[i]; - MessageBox(NULL, fromPath.c_str(), L"TEST!", MB_OK | MB_TOPMOST); - MessageBox(NULL, toPath.c_str(), L"TEST!", MB_OK | MB_TOPMOST); + unsigned int count = GetPrivateProfileSection(L"Variables", keyname, 32767, fromPath.c_str()); if ((_waccess(fromPath.c_str(), 0) == 0) && (_waccess(toPath.c_str(), 0) == 0)