NowPlaying plugin: Fix measure name case sensitivity comparing in PlayerName option

This commit is contained in:
Brian Ferguson 2014-04-21 14:08:43 -06:00
parent 02517c1ef1
commit 814098f0cd

View File

@ -88,7 +88,7 @@ PLUGIN_EXPORT void Reload(void* data, void* rm, double* maxValue)
for ( ; iter != g_ParentMeasures.end(); ++iter) for ( ; iter != g_ParentMeasures.end(); ++iter)
{ {
if (skin == (*iter)->skin && if (skin == (*iter)->skin &&
wcsncmp(str, (*iter)->ownerName, len) == 0) _wcsnicmp(str, (*iter)->ownerName, len) == 0)
{ {
// Use same ParentMeasure as referenced section // Use same ParentMeasure as referenced section
measure->parent = (*iter); measure->parent = (*iter);