From ae3aaef3dbab4006baf35b34d88ff09d640e7e3b Mon Sep 17 00:00:00 2001 From: morkt Date: Wed, 30 Jul 2014 01:13:53 +0400 Subject: [PATCH] (CreateEntryCallback): parameters sanity check. --- GarCreate.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GarCreate.cs b/GarCreate.cs index 07c63c41..5ef87d45 100644 --- a/GarCreate.cs +++ b/GarCreate.cs @@ -130,7 +130,7 @@ namespace GARbro.GUI { if (m_progress_dialog.CancellationPending) throw new OperationCanceledException(); - if (null == entry && null == msg) + if (null == entry && null == msg && 0 != i) { m_total = i; m_progress_dialog.ReportProgress (0);