From 12132b37892eff1615142b1a341f441568cda40f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 27 Mar 2002 22:29:43 +0000 Subject: [PATCH] fixed bug in ConvertWxToFileTime (bug 525868) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filename.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.45.2