From f486f19495aa0e70268d4790f941d23b54aa82ef Mon Sep 17 00:00:00 2001 From: morkt Date: Sat, 4 Feb 2017 13:26:51 +0400 Subject: [PATCH] (GarExtract): skip invalid entries. --- GUI/GarExtract.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/GUI/GarExtract.cs b/GUI/GarExtract.cs index edc3d772..c4e2542c 100644 --- a/GUI/GarExtract.cs +++ b/GUI/GarExtract.cs @@ -240,6 +240,7 @@ namespace GARbro.GUI private void ExtractFilesFromArchive (string text, IEnumerable file_list) { + file_list = file_list.Where (e => e.Offset >= 0); if (file_list.Skip (1).Any() // file_list.Count() > 1 && (m_skip_images || m_skip_script || m_skip_audio)) file_list = file_list.Where (f => !(m_skip_images && f.Type == "image") &&