fixed wxFileName::GetModificationTime()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-04-27 11:05:42 +00:00
parent e94e53ac8f
commit 81be7e075d

View File

@ -1663,16 +1663,16 @@ bool wxFileName::GetTimes(wxDateTime *dtAccess,
FILETIME ftAccess, ftCreate, ftWrite;
if ( ::GetFileTime(fh,
dtMod ? &ftCreate : NULL,
dtCreate ? &ftCreate : NULL,
dtAccess ? &ftAccess : NULL,
dtCreate ? &ftWrite : NULL) )
dtMod ? &ftWrite : NULL) )
{
if ( dtMod )
ConvertFileTimeToWx(dtMod, ftCreate);
if ( dtCreate )
ConvertFileTimeToWx(dtCreate, ftCreate);
if ( dtAccess )
ConvertFileTimeToWx(dtAccess, ftAccess);
if ( dtCreate )
ConvertFileTimeToWx(dtCreate, ftWrite);
if ( dtMod )
ConvertFileTimeToWx(dtMod, ftWrite);
return TRUE;
}