X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f49d731fd4dc46cf729e3f9f4397d6080ee6d0dd..553aa032f2aac24b2b06bd8e38535118950976c1:/src/common/datetime.cpp?ds=sidebyside 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;