From 2f8830d55b71d2fb8be912c7041d7adab7580391 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Sun, 28 Sep 2008 13:22:20 -0500 Subject: [PATCH] comctl32: Fix a test on locales where default first day of week is not the max value. --- dlls/comctl32/tests/monthcal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/comctl32/tests/monthcal.c b/dlls/comctl32/tests/monthcal.c index 271dfd1b6f9..6f2ae70a4d0 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); }