- Moderator
- #11
Something which will operate in spite of the letter case.Unfortunately, MP seems to have ended up with a confusing mixture of letter case
https://github.com/MediaPortal/Medi...al/Core/guilib/GUIControlFactory.cs#L261-L263
C#:
if (String.Compare(valueName, "textcolor", StringComparison.OrdinalIgnoreCase) == 0 ||
String.Compare(valueName, "colorkey", StringComparison.OrdinalIgnoreCase) == 0 ||
String.Compare(valueName, "colordiffuse", StringComparison.OrdinalIgnoreCase) == 0)
{