fixed bug in ConvertWxToFileTime (bug 525868)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
372c2812d9
commit
12132b3789
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user