diff --git a/Library/Rainmeter.cpp b/Library/Rainmeter.cpp index 1a959334..def3468a 100644 --- a/Library/Rainmeter.cpp +++ b/Library/Rainmeter.cpp @@ -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;