From 3b1e567e18b31c224292098b0015cf0f6f3216a2 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 20 Feb 2016 19:05:39 +0100 Subject: [PATCH] Changed: Display only filename in patch screen --- 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 15e36c9c4..6eb278ece 100644 --- a/code/ryzom/client/src/login_patch.cpp +++ b/code/ryzom/client/src/login_patch.cpp @@ -1525,10 +1525,10 @@ void CPatchManager::applyDate (const string &sFilename, uint32 nDate) // if (_utime (sFilename.c_str (), &utb) == -1) { int err = NLMISC::getLastError(); - s = CI18N::get("uiChgDateErr") + " " + sFilename + " (" + toString(err) + ", " + formatErrorMessage(err) + ")"; + s = CI18N::get("uiChgDateErr") + " " + CFile::getFilename(sFilename) + " (" + toString(err) + ", " + formatErrorMessage(err) + ")"; setState(true,s); } - s = CI18N::get("uiNowDate") + " " + sFilename + " " + toString(NLMISC::CFile::getFileModificationDate (sFilename)); + s = CI18N::get("uiNowDate") + " " + CFile::getFilename(sFilename) + " " + timestampToHumanReadable(NLMISC::CFile::getFileModificationDate (sFilename)); setState(true,s); } }