(MBL): ignore filename case.

This commit is contained in:
morkt 2018-12-29 22:28:44 +04:00
parent d604258e93
commit 02850219cf

View File

@ -95,7 +95,7 @@ namespace GameRes.Formats.Marble
return null;
try
{
bool contains_scripts = Path.GetFileNameWithoutExtension (file.Name).EndsWith ("_data");
bool contains_scripts = Path.GetFileNameWithoutExtension (file.Name).EndsWith ("_data", StringComparison.OrdinalIgnoreCase);
var dir = new List<Entry> (count);
for (int i = 0; i < count; ++i)
{