mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed silly mistake.
This commit is contained in:
parent
30117612d1
commit
3caeff7049
@ -242,7 +242,7 @@ bool CopyFiles(const std::wstring& strFrom, const std::wstring& strTo, bool bMov
|
||||
FOF_NO_UI | FOF_NOCONFIRMATION | FOF_ALLOWUNDO
|
||||
};
|
||||
|
||||
return SHFileOperation(&fo) != 0;
|
||||
return SHFileOperation(&fo) == 0;
|
||||
}
|
||||
|
||||
OSPLATFORM GetOSPlatform()
|
||||
|
@ -122,7 +122,7 @@ int Rainstaller(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine,
|
||||
str += L"Rainmeter.exe";
|
||||
if (_waccess(str.c_str(), 0) != 0)
|
||||
{
|
||||
std::wstring error = L"Unable to locate Rainmeter.\nRainstaller.exe needs to be in the \\Addons\\Rainstaller\\ folder.";
|
||||
std::wstring error = L"Unable to locate Rainmeter.";
|
||||
MessageBox(NULL, error.c_str(), APP_NAME, MB_ERROR);
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user