From a4570fdb041db4dc64a0d49bdefb349ee8059638 Mon Sep 17 00:00:00 2001 From: morkt Date: Fri, 1 Aug 2014 16:40:33 +0400 Subject: [PATCH] updated ExtractFiles call with new callback syntax. --- Console/ConsoleBrowser.cs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Console/ConsoleBrowser.cs b/Console/ConsoleBrowser.cs index 604b390c..f87d4c46 100644 --- a/Console/ConsoleBrowser.cs +++ b/Console/ConsoleBrowser.cs @@ -29,9 +29,16 @@ namespace GARbro void ExtractAll (ArcFile arc) { - arc.ExtractFiles ((i, entry) => { - Console.WriteLine ("Extracting {0} ...", entry.Name); - return ExtractAction.Continue; + arc.ExtractFiles ((i, entry, msg) => { + if (null != entry) + { + Console.WriteLine ("Extracting {0} ...", entry.Name); + } + else if (null != msg) + { + Console.WriteLine (msg); + } + return ArchiveOperation.Continue; }); }