From 814098f0cdc8f7c28a29c1ec77a4631bef72afe9 Mon Sep 17 00:00:00 2001 From: Brian Ferguson Date: Mon, 21 Apr 2014 14:08:43 -0600 Subject: [PATCH] NowPlaying plugin: Fix measure name case sensitivity comparing in PlayerName option --- Plugins/PluginNowPlaying/NowPlaying.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/PluginNowPlaying/NowPlaying.cpp b/Plugins/PluginNowPlaying/NowPlaying.cpp index 2d9ef8f2..4b42f902 100644 --- a/Plugins/PluginNowPlaying/NowPlaying.cpp +++ b/Plugins/PluginNowPlaying/NowPlaying.cpp @@ -88,7 +88,7 @@ PLUGIN_EXPORT void Reload(void* data, void* rm, double* maxValue) for ( ; iter != g_ParentMeasures.end(); ++iter) { if (skin == (*iter)->skin && - wcsncmp(str, (*iter)->ownerName, len) == 0) + _wcsnicmp(str, (*iter)->ownerName, len) == 0) { // Use same ParentMeasure as referenced section measure->parent = (*iter);