mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
use HasExtension method instead of string.EndsWith.
This commit is contained in:
@@ -740,7 +740,7 @@ NextEntry:
|
||||
{
|
||||
if ("image" == entry.Type || "archive" == entry.Type)
|
||||
return false;
|
||||
if (entry.Name.EndsWith (".ogg", StringComparison.InvariantCultureIgnoreCase))
|
||||
if (entry.Name.HasExtension (".ogg"))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user