Subversion Repositories spk

Rev

Rev 177 | Rev 197 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 177 Rev 178
Line 273... Line 273...
273
				 if ( m_iStatus == 0 )
273
				 if ( m_iStatus == 0 )
274
				 {
274
				 {
275
					if ( (m_pPackage && m_pInfo->GetFile()) || (m_pMultiPackage && m_pInfo->GetPackage()) )
275
					if ( (m_pPackage && m_pInfo->GetFile()) || (m_pMultiPackage && m_pInfo->GetPackage()) )
276
					{
276
					{
277
						if ( m_pPackage )
277
						if ( m_pPackage )
278
							LabelCompress->Text = SystemStringFromCyString(m_pInfo->GetFile()->GetNameDirectory(m_pPackage) + " (" + SPK::GetSizeString(m_pInfo->GetDone()) + "/" + SPK::GetSizeString(m_pInfo->GetMax()) + ")");
278
							LabelCompress->Text = _US(m_pInfo->GetFile()->getNameDirectory(m_pPackage) + " (" + SPK::GetSizeString(m_pInfo->GetDone()) + "/" + SPK::GetSizeString(m_pInfo->GetMax()) + ")");
279
						else if ( m_pMultiPackage )
279
						else if ( m_pMultiPackage )
280
							LabelCompress->Text = SystemStringFromCyString(m_pInfo->GetPackage()->sName + " (" + SPK::GetSizeString(m_pInfo->GetDone()) + "/" + SPK::GetSizeString(m_pInfo->GetMax()) + ")");
280
							LabelCompress->Text = _US(m_pInfo->GetPackage()->sName + " (" + SPK::GetSizeString(m_pInfo->GetDone()) + "/" + SPK::GetSizeString(m_pInfo->GetMax()) + ")");
281
						this->progressBar1->Maximum = m_pInfo->GetMax();
281
						this->progressBar1->Maximum = m_pInfo->GetMax();
282
						if ( (int)m_pInfo->GetDone() >= this->progressBar1->Minimum )
282
						if ( (int)m_pInfo->GetDone() >= this->progressBar1->Minimum )
283
						{
283
						{
284
							if ( (int)m_pInfo->GetDone() > this->progressBar1->Maximum )
284
							if ( (int)m_pInfo->GetDone() > this->progressBar1->Maximum )
285
								this->progressBar1->Value = this->progressBar1->Maximum;
285
								this->progressBar1->Value = this->progressBar1->Maximum;