Browse Source

BUG: Fix call to SetFileTime to set it on the proper file.

pull/1/head
Brad King 18 years ago
parent
commit
23c6b90080
  1. 2
      Source/cmSystemTools.cxx

2
Source/cmSystemTools.cxx

@ -2049,7 +2049,7 @@ bool cmSystemTools::CopyFileTime(const char* fromFile, const char* toFile)
{ {
return false; return false;
} }
if(!SetFileTime(hFrom, &timeCreation, &timeLastAccess, &timeLastWrite))
if(!SetFileTime(hTo, &timeCreation, &timeLastAccess, &timeLastWrite))
{ {
return false; return false;
} }

Loading…
Cancel
Save