mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[Style] Compare in Windows format where upper and lower case don't matter
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user