aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Sorting/SortNameComparer.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-11-15 15:57:07 +0100
committerBond_009 <bond.009@outlook.com>2021-11-15 15:57:07 +0100
commit474b035d99c388e7d23280cefaa97760d4263f76 (patch)
tree2c1fbbb639e0592247c8f8b6bc21a0b6d9aec244 /Emby.Server.Implementations/Sorting/SortNameComparer.cs
parent9c74103fbe151cad7ec0c2ddf4061afc9378b203 (diff)
Fix some warnings
Diffstat (limited to 'Emby.Server.Implementations/Sorting/SortNameComparer.cs')
-rw-r--r--Emby.Server.Implementations/Sorting/SortNameComparer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Sorting/SortNameComparer.cs b/Emby.Server.Implementations/Sorting/SortNameComparer.cs
index fb97a0349..79be9a89a 100644
--- a/Emby.Server.Implementations/Sorting/SortNameComparer.cs
+++ b/Emby.Server.Implementations/Sorting/SortNameComparer.cs
@@ -36,7 +36,7 @@ namespace Emby.Server.Implementations.Sorting
throw new ArgumentNullException(nameof(y));
}
- return string.Compare(x.SortName, y.SortName, StringComparison.CurrentCultureIgnoreCase);
+ return string.Compare(x.SortName, y.SortName, StringComparison.OrdinalIgnoreCase);
}
}
}