Use cmake to determine which string func we need.

On a side note, better to default to linux names when possible.
This commit is contained in:
Jason Felds
2015-10-07 19:00:16 -04:00
parent dca80f91ae
commit d9a3c9cf97
9 changed files with 33 additions and 21 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ bool NoteSkinManager::NoteSkinNameInList(const RString name, vector<RString> nam
{
for(size_t i= 0; i < name_list.size(); ++i)
{
if(0 == stricmp(name, name_list[i]))
if(0 == strcasecmp(name, name_list[i]))
{
return true;
}