diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-11-15 15:57:07 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-11-15 15:57:07 +0100 |
| commit | 474b035d99c388e7d23280cefaa97760d4263f76 (patch) | |
| tree | 2c1fbbb639e0592247c8f8b6bc21a0b6d9aec244 /Emby.Server.Implementations/Sorting/NameComparer.cs | |
| parent | 9c74103fbe151cad7ec0c2ddf4061afc9378b203 (diff) | |
Fix some warnings
Diffstat (limited to 'Emby.Server.Implementations/Sorting/NameComparer.cs')
| -rw-r--r-- | Emby.Server.Implementations/Sorting/NameComparer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Sorting/NameComparer.cs b/Emby.Server.Implementations/Sorting/NameComparer.cs index 8f87717f4..c2875eeb9 100644 --- a/Emby.Server.Implementations/Sorting/NameComparer.cs +++ b/Emby.Server.Implementations/Sorting/NameComparer.cs @@ -34,7 +34,7 @@ namespace Emby.Server.Implementations.Sorting throw new ArgumentNullException(nameof(y)); } - return string.Compare(x.Name, y.Name, StringComparison.CurrentCultureIgnoreCase); + return string.Compare(x.Name, y.Name, StringComparison.OrdinalIgnoreCase); } } } |
