|
|
@ -2148,7 +2148,7 @@ bool CFile::setFileModificationDate(const std::string &filename, uint32 modTime)
|
|
|
|
FILETIME accessFileTime;
|
|
|
|
FILETIME accessFileTime;
|
|
|
|
FILETIME modFileTime;
|
|
|
|
FILETIME modFileTime;
|
|
|
|
|
|
|
|
|
|
|
|
// read the current the files times
|
|
|
|
// read the current file time
|
|
|
|
if (GetFileTime(h, &creationFileTime, &accessFileTime, &modFileTime) == 0)
|
|
|
|
if (GetFileTime(h, &creationFileTime, &accessFileTime, &modFileTime) == 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
nlwarning("Can't set modification date on file '%s' : %s", fn.c_str(), formatErrorMessage(getLastError()).c_str());
|
|
|
|
nlwarning("Can't set modification date on file '%s' : %s", fn.c_str(), formatErrorMessage(getLastError()).c_str());
|
|
|
|