From 8ae8a1b73dfd9fd059838ed62ab61ad7f924caa2 Mon Sep 17 00:00:00 2001 From: spx Date: Tue, 11 Jan 2011 16:18:15 +0000 Subject: [PATCH] Fixed PLAYSTOP case sensitivity. --- Library/Rainmeter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;