James Hawkins : comctl32: Fix a test on locales where default first day of week is not the max value .
Module: wine Branch: master Commit: 2f8830d55b71d2fb8be912c7041d7adab7580391 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2f8830d55b71d2fb8be912c704... Author: James Hawkins <jhawkins(a)codeweavers.com> Date: Sun Sep 28 13:22:20 2008 -0500 comctl32: Fix a test on locales where default first day of week is not the max value. --- dlls/comctl32/tests/monthcal.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/comctl32/tests/monthcal.c b/dlls/comctl32/tests/monthcal.c index 271dfd1..6f2ae70 100644 --- a/dlls/comctl32/tests/monthcal.c +++ b/dlls/comctl32/tests/monthcal.c @@ -673,7 +673,8 @@ static void test_monthcal_firstDay(HWND hwnd) if (i == -1){ expect(MAKELONG(fday, FALSE), res); }else if (i >= 7){ - expect(MAKELONG(fday, TRUE), res); + /* out of range sets max first day of week, locale is ignored */ + expect(MAKELONG(6, TRUE), res); }else{ expect(MAKELONG(i, TRUE), res); }
participants (1)
-
Alexandre Julliard