Fixed PLAYSTOP case sensitivity.

This commit is contained in:
spx 2011-01-11 16:18:15 +00:00
parent dd4edd3df0
commit 8ae8a1b73d

View File

@ -3130,7 +3130,7 @@ void CRainmeter::ExecuteCommand(const WCHAR* command, CMeterWindow* meterWindow)
}
return;
}
else if (wcsncmp(L"PLAYSTOP", strCommand.c_str(), 8) == 0)
else if (_wcsnicmp(L"PLAYSTOP", strCommand.c_str(), 8) == 0)
{
PlaySound(NULL, NULL, SND_PURGE);
return;