Commit 0cae0842 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

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

parent 3c5a2549
...@@ -385,6 +385,7 @@ static void test_monthcal(void) ...@@ -385,6 +385,7 @@ static void test_monthcal(void)
/* set both limits, then set max < min */ /* set both limits, then set max < min */
GetSystemTime(&st[0]); GetSystemTime(&st[0]);
st[0].wDay = 25;
st[1] = st[0]; st[1] = st[0];
st[1].wYear++; st[1].wYear++;
ok(SendMessage(hwnd, MCM_SETRANGE, GDTR_MIN|GDTR_MAX, (LPARAM)st), "Failed to set limits\n"); ok(SendMessage(hwnd, MCM_SETRANGE, GDTR_MIN|GDTR_MAX, (LPARAM)st), "Failed to set limits\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment