From 43be3deaa5516086d86d8254020515bf10986fb2 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/branches/WX_2_4_BRANCH@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 ead9474e79..ec9d934fb8 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -1305,6 +1305,7 @@ wxDateTime& wxDateTime::ResetTime() wxDateTime& wxDateTime::SetFromDOS(unsigned long ddt) { struct tm tm; + InitTm(tm); long year = ddt & 0xFE000000; year >>= 25;