Fixed sloppy mistake in r846.

This commit is contained in:
Birunthan Mohanathas 2011-07-03 13:21:01 +00:00
parent 2bdca3d6da
commit 2ca9967b18

View File

@ -224,7 +224,7 @@ void Bang(const WCHAR* command)
} }
else else
{ {
if (_wcsicmp(L"!rainmeterquit", command) != 0 || if (_wcsicmp(L"!rainmeterquit", command) != 0 &&
_wcsicmp(L"!quit", command) != 0) _wcsicmp(L"!quit", command) != 0)
{ {
MessageBox(NULL, L"Rainmeter is not running.\nUnable to send the !bang to it.", L"Rainmeter", MB_OK | MB_TOPMOST | MB_ICONERROR); MessageBox(NULL, L"Rainmeter is not running.\nUnable to send the !bang to it.", L"Rainmeter", MB_OK | MB_TOPMOST | MB_ICONERROR);