comctl32/tests: Fix test that fails on Feb 29th.
This commit is contained in:
parent
8c5b08d81c
commit
2dcc8ec08d
1 changed files with 2 additions and 0 deletions
|
@ -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++;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue