Change all instances of ToLower() to ToLowerInvariant()
This commit is contained in:
committed by
atlimit8
parent
0a9eb1ff83
commit
5b34af0f12
@@ -92,7 +92,7 @@ namespace OpenRA.Mods.Common.Lint
|
||||
if (value == null)
|
||||
continue;
|
||||
|
||||
if (!dict.ContainsKey(value.ToLower()))
|
||||
if (!dict.ContainsKey(value.ToLowerInvariant()))
|
||||
emitError("{0}.{1}.{2}: Missing weapon `{3}`."
|
||||
.F(actorInfo.Name, traitInfo.GetType().Name, fieldInfo.Name, value));
|
||||
}
|
||||
@@ -110,7 +110,7 @@ namespace OpenRA.Mods.Common.Lint
|
||||
if (value == null)
|
||||
continue;
|
||||
|
||||
if (!dict.ContainsKey(value.ToLower()))
|
||||
if (!dict.ContainsKey(value.ToLowerInvariant()))
|
||||
emitError("{0}.{1}.{2}: Missing voice `{3}`."
|
||||
.F(actorInfo.Name, traitInfo.GetType().Name, fieldInfo.Name, value));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user