mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
use Enumerable.Empty() to return empty list.
This commit is contained in:
parent
b0f621e8ab
commit
ad1b51b24c
@ -326,7 +326,7 @@ namespace GameRes
|
||||
{
|
||||
string ext = Path.GetExtension (filename);
|
||||
if (string.IsNullOrEmpty (ext))
|
||||
return new IResource[0];
|
||||
return Enumerable.Empty<IResource>();
|
||||
return LookupExtension (ext.TrimStart ('.'));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user