(CreateEntryCallback): parameters sanity check.

This commit is contained in:
morkt 2014-07-30 01:13:53 +04:00
parent 8b32b5ca03
commit ae3aaef3db

View File

@ -130,7 +130,7 @@ namespace GARbro.GUI
{ {
if (m_progress_dialog.CancellationPending) if (m_progress_dialog.CancellationPending)
throw new OperationCanceledException(); throw new OperationCanceledException();
if (null == entry && null == msg) if (null == entry && null == msg && 0 != i)
{ {
m_total = i; m_total = i;
m_progress_dialog.ReportProgress (0); m_progress_dialog.ReportProgress (0);