Skip to content

Commit

Permalink
better variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
tomysshadow committed Jun 4, 2024
1 parent 5cdd36c commit 9ff425c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions FlashpointSecurePlayer/Shared.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 9ff425c

Please sign in to comment.