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
This commit is contained in:
@@ -1305,6 +1305,7 @@ wxDateTime& wxDateTime::ResetTime()
|
||||
wxDateTime& wxDateTime::SetFromDOS(unsigned long ddt)
|
||||
{
|
||||
struct tm tm;
|
||||
InitTm(tm);
|
||||
|
||||
long year = ddt & 0xFE000000;
|
||||
year >>= 25;
|
||||
|
Reference in New Issue
Block a user