From 4561157854afbe589eca778fff43d88e61bd6960 Mon Sep 17 00:00:00 2001 From: morkt Date: Tue, 29 Jul 2014 07:38:53 +0400 Subject: [PATCH] (CreateWorker): fixed total file count. --- GarCreate.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GarCreate.cs b/GarCreate.cs index 35f4d524..54921cd4 100644 --- a/GarCreate.cs +++ b/GarCreate.cs @@ -153,7 +153,7 @@ namespace GARbro.GUI using (var tmp_file = new GARbro.Shell.TemporaryFile (Path.GetDirectoryName (m_arc_name), Path.GetRandomFileName ())) { - int m_total = m_file_list.Count() + 1; + m_total = m_file_list.Count() + 1; using (var file = File.Create (tmp_file.Name)) { m_format.Create (file, m_file_list, m_options, CreateEntryCallback);