mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(CreateEntryCallback): parameters sanity check.
This commit is contained in:
parent
8b32b5ca03
commit
ae3aaef3db
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user