summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
992527a)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44960
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
unsigned short dosTime = 0;
VariantTimeToDosDateTime(oleVariant.date, & dosDate, & dosTime);
unsigned short dosTime = 0;
VariantTimeToDosDateTime(oleVariant.date, & dosDate, & dosTime);
- long dosDateTime = (dosDate << 16) || dosTime;
+ long dosDateTime = (dosDate << 16) | dosTime;
wxDateTime date;
date.SetFromDOS(dosDateTime);
variant = date;
wxDateTime date;
date.SetFromDOS(dosDateTime);
variant = date;