From 3caeff70494fc902180ca80b3a16cf7348abf195 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sun, 27 Nov 2011 18:51:39 +0000 Subject: [PATCH] Fixed silly mistake. --- SkinInstaller/Application.cpp | 2 +- SkinInstaller/Rainstaller.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SkinInstaller/Application.cpp b/SkinInstaller/Application.cpp index 872678fc..467f61e8 100644 --- a/SkinInstaller/Application.cpp +++ b/SkinInstaller/Application.cpp @@ -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() diff --git a/SkinInstaller/Rainstaller.cpp b/SkinInstaller/Rainstaller.cpp index 101458bf..2416053f 100644 --- a/SkinInstaller/Rainstaller.cpp +++ b/SkinInstaller/Rainstaller.cpp @@ -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; }