From 3e02d29050572f096012e3af7df3611a34dcde46 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 3 Feb 2016 21:57:51 +0100 Subject: [PATCH] Changed: Only display filename because path can be too long for UI --HG-- branch : develop --- code/ryzom/client/src/login_patch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/client/src/login_patch.cpp b/code/ryzom/client/src/login_patch.cpp index 3273dc95d..c8be10781 100644 --- a/code/ryzom/client/src/login_patch.cpp +++ b/code/ryzom/client/src/login_patch.cpp @@ -1793,7 +1793,7 @@ void CPatchManager::MyPatchingCB::progress(float f) { CPatchManager *pPM = CPatchManager::getInstance(); double p = 100.0*f; - ucstring sTranslate = CI18N::get("uiApplyingDelta") + toString(" %s (%5.02f %%)", patchFilename.c_str(), p); + ucstring sTranslate = CI18N::get("uiApplyingDelta") + toString(" %s (%5.02f %%)", CFile::getFilename(patchFilename).c_str(), p); pPM->setState(false, sTranslate); } @@ -2711,7 +2711,7 @@ void CPatchThread::processFile (CPatchManager::SFileToPatch &rFTP) string OutFilename = pPM->ClientPatchPath + rFTP.FileName + ".tmp__" + toString(j); - sTranslate = CI18N::get("uiApplyingDelta") + " " + PatchName; + sTranslate = CI18N::get("uiApplyingDelta") + " " + CFile::getFilename(PatchName); pPM->setState(true, sTranslate); xDeltaPatch(PatchName, SourceNameXD, OutFilename);