[Style] Compare in Windows format where upper and lower case don't matter

This commit is contained in:
Matt Nadareski
2016-10-28 12:28:24 -07:00
parent 5ba600782b
commit 1868aa17c5

View File

@@ -283,6 +283,10 @@ namespace SabreTools.Helper.Tools
/// <returns></returns>
public static int CompareNumeric(string s1, string s2)
{
// We want to normalize the strings, so we set both to lower case
s1 = s1.ToLowerInvariant();
s2 = s2.ToLowerInvariant();
// If the strings are the same exactly, return
if (s1 == s2)
{