mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-10 17:29:06 +00:00
Changed: Don't put spaces in front of percent value
This commit is contained in:
parent
60198fa7d3
commit
9de1b5accd
1 changed files with 1 additions and 1 deletions
|
@ -1792,7 +1792,7 @@ int CPatchManager::validateProgress(void *foo, double t, double d, double /* ult
|
|||
|
||||
CPatchManager *pPM = CPatchManager::getInstance();
|
||||
double pour1 = t!=0.0?d*100.0/t:0.0;
|
||||
ucstring sTranslate = CI18N::get("uiLoginGetFile") + ucstring::makeFromUtf8(toString(" %s : %s / %s (%5.02f %%)", NLMISC::CFile::getFilename(pPM->CurrentFile).c_str(),
|
||||
ucstring sTranslate = CI18N::get("uiLoginGetFile") + ucstring::makeFromUtf8(toString(" %s : %s / %s (%.02f %%)", NLMISC::CFile::getFilename(pPM->CurrentFile).c_str(),
|
||||
NLMISC::bytesToHumanReadableUnits((uint64)d, units).c_str(), NLMISC::bytesToHumanReadableUnits((uint64)t, units).c_str(), pour1));
|
||||
pPM->setState(false, sTranslate);
|
||||
if (foo)
|
||||
|
|
Loading…
Reference in a new issue