From: Vadim Zeitlin Date: Wed, 27 Mar 2002 22:29:43 +0000 (+0000) Subject: fixed bug in ConvertWxToFileTime (bug 525868) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/12132b37892eff1615142b1a341f441568cda40f?ds=sidebyside fixed bug in ConvertWxToFileTime (bug 525868) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/filename.cpp b/src/common/filename.cpp index 99832bf995..4f126db178 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -208,8 +208,8 @@ static void ConvertWxToFileTime(FILETIME *ft, const wxDateTime& dt) { // do the reverse of ConvertFileTimeToWx() wxLongLong ll = dt.GetValue(); - ll *= 10000; ll += FILETIME_EPOCH_OFFSET; + ll *= 10000; ft->dwHighDateTime = ll.GetHi(); ft->dwLowDateTime = ll.GetLo();