display hidden files.

This commit is contained in:
morkt 2015-08-29 19:43:24 +04:00
parent 5968f6cd24
commit 602735f9e4

View File

@ -111,7 +111,7 @@ namespace GARbro.GUI
} }
foreach (var file in info.EnumerateFiles()) foreach (var file in info.EnumerateFiles())
{ {
if (0 != (file.Attributes & (FileAttributes.Hidden | FileAttributes.System))) if (0 != (file.Attributes & (FileAttributes.System)))
continue; continue;
var entry = FormatCatalog.Instance.CreateEntry (file.Name); var entry = FormatCatalog.Instance.CreateEntry (file.Name);
entry.Size = (uint)Math.Min (file.Length, uint.MaxValue); entry.Size = (uint)Math.Min (file.Length, uint.MaxValue);