X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f22cc0b4a5e8cb8bb265fbbf336834a341e373ce..5c250a10332dc17263c66deb629b5fa8c4320f8a:/src/msw/wince/time.cpp diff --git a/src/msw/wince/time.cpp b/src/msw/wince/time.cpp index 22fd23687f..b512e22ec7 100644 --- a/src/msw/wince/time.cpp +++ b/src/msw/wince/time.cpp @@ -173,7 +173,7 @@ time_t __cdecl time(time_t *t) //////////////////////////////////////////////////////////////////////// time_t __cdecl mktime(struct tm *t) { - return (common_tm_to_time(t->tm_mday, t->tm_mon, t->tm_year, t->tm_hour, t->tm_min, t->tm_sec)) ; + return (common_tm_to_time(t->tm_mday, t->tm_mon+1, t->tm_year+1900, t->tm_hour, t->tm_min, t->tm_sec)) ; }