1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

comctl32/tests: Fix test that fails on Feb 29th.

This commit is contained in:
Noah Berner 2024-02-29 17:03:24 +01:00 committed by Alexandre Julliard
parent 8c5b08d81c
commit 2dcc8ec08d

View file

@ -469,6 +469,7 @@ static void test_monthcal(void)
ok(limits == GDTR_MIN, "got 0x%08lx\n", limits);
GetSystemTime(st);
st[0].wDay = 25;
st[1] = st[0];
st[1].wYear++;
r = SendMessageA(hwnd, MCM_SETRANGE, 0, (LPARAM)st);
@ -480,6 +481,7 @@ static void test_monthcal(void)
/* flags are 0, set min limit */
GetSystemTime(st);
st[0].wDay = 25;
st[1] = st[0];
st[1].wYear++;