comctl32: Fix a test on locales where default first day of week is not the max value.

This commit is contained in:
James Hawkins 2008-09-28 13:22:20 -05:00 committed by Alexandre Julliard
parent 5114d652d2
commit 2f8830d55b
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}