mirror of
https://github.com/aaru-dps/Aaru.Decryption.git
synced 2025-12-16 19:24:33 +00:00
Use string.EndsWith(string, StringComparison.
This commit is contained in:
@@ -978,7 +978,7 @@ public class CSS
|
|||||||
{
|
{
|
||||||
while(fs.ReadDir(node, out string entry) == ErrorNumber.NoError && entry is not null)
|
while(fs.ReadDir(node, out string entry) == ErrorNumber.NoError && entry is not null)
|
||||||
{
|
{
|
||||||
if(!entry.ToLower().EndsWith(".vob"))
|
if(!entry.EndsWith(".vob", StringComparison.InvariantCultureIgnoreCase))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
fs.Stat("VIDEO_TS" + "/" + entry, out FileEntryInfo stat);
|
fs.Stat("VIDEO_TS" + "/" + entry, out FileEntryInfo stat);
|
||||||
|
|||||||
Reference in New Issue
Block a user