diff --git a/FlashpointSecurePlayer/Shared.cs b/FlashpointSecurePlayer/Shared.cs index 584d420..74036c6 100644 --- a/FlashpointSecurePlayer/Shared.cs +++ b/FlashpointSecurePlayer/Shared.cs @@ -1649,18 +1649,18 @@ public string _ValueExpanded { // delimiter for a primary key (value names can contain them) public string Name { get { - string keyName = GetComparableName(KeyName); + string comparableKeyName = GetComparableName(KeyName); - if (!String.IsNullOrEmpty(keyName)) { - keyName = keyName.ToUpperInvariant(); + if (!String.IsNullOrEmpty(comparableKeyName)) { + comparableKeyName = comparableKeyName.ToUpperInvariant(); } - string valueName = GetComparableName(ValueName); + string comparableValueName = GetComparableName(ValueName); - if (!String.IsNullOrEmpty(valueName)) { - valueName = valueName.ToUpperInvariant(); + if (!String.IsNullOrEmpty(comparableValueName)) { + comparableValueName = comparableValueName.ToUpperInvariant(); } - return keyName + "\0" + valueName; + return comparableKeyName + "\0" + comparableValueName; } }