comctl32/tests: Fix test failures running on February 29.

This commit is contained in:
Nikolay Sivov 2012-02-29 10:02:27 +03:00 committed by Alexandre Julliard
parent 3c5a2549c5
commit 0cae0842b9

View file

@ -385,6 +385,7 @@ static void test_monthcal(void)
/* set both limits, then set max < min */
GetSystemTime(&st[0]);
st[0].wDay = 25;
st[1] = st[0];
st[1].wYear++;
ok(SendMessage(hwnd, MCM_SETRANGE, GDTR_MIN|GDTR_MAX, (LPARAM)st), "Failed to set limits\n");