From: sirakaba Date: Sun, 9 Jan 2011 09:39:42 +0000 (+0000) Subject: 微修正。 X-Git-Tag: 0.01beta10~23 X-Git-Url: http://git.osdn.net/view?p=tpi%2Flychee.git;a=commitdiff_plain;h=b19a24f2c519f69ffa23d0dc49bedc4661e1ad4b 微修正。 git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/tpi/tpi@463 9df91469-1e22-0410-86e7-ea8537beb833 --- diff --git a/src/plugin/7zArc/7zArc.cpp b/src/plugin/7zArc/7zArc.cpp index b5cdcd1..b8021d6 100644 --- a/src/plugin/7zArc/7zArc.cpp +++ b/src/plugin/7zArc/7zArc.cpp @@ -262,6 +262,7 @@ CArchiveExtractCallback::CArchiveExtractCallback(CMyComPtr hArc, TPI { this->hArc = hArc; this->swInfo = swInfo; + this->nCurrentPos = 0; this->fTriedPassword = false; } @@ -517,7 +518,7 @@ STDMETHODIMP CArchiveUpdateCallback::GetStream(unsigned int nIndex, ISequentialI // 前のファイルの処理の終了を通知。 this->nCurrentPos += this->piInfo.fiInfo.nUnpackedSize; this->piInfo.eMessage = TPI_MESSAGE_STATUS; - if (this->nCurrentPos != 0) + if (this->nCurrentPos > 0) { this->piInfo.eStatus = TPI_STATUS_ENDPROCESS; if (g_prProc != NULL && g_prProc(TPI_NOTIFY_COMMON, & this->piInfo) != TPI_CALLBACK_CONTINUE)