!RainmeterQuit bang doesn't show error message even if Rainmeter is not running.

This commit is contained in:
Kimmo Pekkola
2009-08-05 08:36:38 +00:00
parent 3cb252cef1
commit 3a5b634b1b
2 changed files with 7 additions and 2 deletions

View File

@ -174,7 +174,10 @@ void Bang(HWND hWnd, const WCHAR* command)
}
else
{
MessageBox(hWnd, L"Rainmeter is not running.\nUnable to send the !bang to it.", L"Rainmeter", MB_OK);
if (wcsicmp(L"!rainmeterquit", command) != 0)
{
MessageBox(hWnd, L"Rainmeter is not running.\nUnable to send the !bang to it.", L"Rainmeter", MB_OK);
}
}
}