Nikolay Sivov : comctl32/tests: Fix test failures running on February 29.
Module: wine Branch: master Commit: 0cae0842b93ebc34344e2ea95a65c252e04aebbe URL: http://source.winehq.org/git/wine.git/?a=commit;h=0cae0842b93ebc34344e2ea95a... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Wed Feb 29 10:02:27 2012 +0300 comctl32/tests: Fix test failures running on February 29. --- dlls/comctl32/tests/monthcal.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/comctl32/tests/monthcal.c b/dlls/comctl32/tests/monthcal.c index 0585bb4..1fe2e61 100644 --- a/dlls/comctl32/tests/monthcal.c +++ b/dlls/comctl32/tests/monthcal.c @@ -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");
participants (1)
-
Alexandre Julliard