mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-30 15:45:59 +00:00
Changed: Display only filename in patch screen
This commit is contained in:
parent
41b3401f3e
commit
3b1e567e18
1 changed files with 2 additions and 2 deletions
|
@ -1525,10 +1525,10 @@ void CPatchManager::applyDate (const string &sFilename, uint32 nDate)
|
||||||
// if (_utime (sFilename.c_str (), &utb) == -1)
|
// if (_utime (sFilename.c_str (), &utb) == -1)
|
||||||
{
|
{
|
||||||
int err = NLMISC::getLastError();
|
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);
|
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);
|
setState(true,s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue