diff --git a/reactos/dll/cpl/timedate/timedate.c b/reactos/dll/cpl/timedate/timedate.c index dc1307a8ce5..afdb27837f2 100644 --- a/reactos/dll/cpl/timedate/timedate.c +++ b/reactos/dll/cpl/timedate/timedate.c @@ -124,7 +124,7 @@ SetLocalSystemTime(HWND hwnd) { SYSTEMTIME Time; - if (DateTime_GetSystemTime(GetDlgItem(hwnd, + if (DateTime_GetSystemtime(GetDlgItem(hwnd, IDC_TIMEPICKER), &Time) == GDT_VALID && SendMessage(GetDlgItem(hwnd, diff --git a/reactos/dll/win32/syssetup/wizard.c b/reactos/dll/win32/syssetup/wizard.c index a2570a39f13..2dcc5ac24b7 100644 --- a/reactos/dll/win32/syssetup/wizard.c +++ b/reactos/dll/win32/syssetup/wizard.c @@ -1133,7 +1133,7 @@ GetLocalSystemTime(HWND hwnd, PSETUPDATA SetupData) return FALSE; } - if (DateTime_GetSystemTime(GetDlgItem(hwnd, IDC_TIMEPICKER), &Time) != GDT_VALID) + if (DateTime_GetSystemtime(GetDlgItem(hwnd, IDC_TIMEPICKER), &Time) != GDT_VALID) { return FALSE; }