From 4739346e195beb4676c281003fcf75878185023e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 13 Dec 2003 10:28:29 +0000 Subject: [PATCH] Applied patch [ 859194 ] wxDateTime::SetFromDOS gives unpredictable results git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/datetime.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index 7ea7a574e3..9c14cc43db 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -1326,6 +1326,7 @@ wxDateTime& wxDateTime::ResetTime() wxDateTime& wxDateTime::SetFromDOS(unsigned long ddt) { struct tm tm; + InitTm(tm); long year = ddt & 0xFE000000; year >>= 25; -- 2.45.2