comctl32/monthcal: Fix a test skip condition - zero is a valid day of week.

This commit is contained in:
Nikolay Sivov 2009-10-11 00:32:59 +04:00 committed by Alexandre Julliard
parent 6b72f16906
commit 22dddce999
1 changed files with 6 additions and 6 deletions

View File

@ -1584,7 +1584,7 @@ static void test_monthcal_selrange(void)
expect(st.wYear, range[0].wYear); expect(st.wYear, range[0].wYear);
expect(st.wMonth, range[0].wMonth); expect(st.wMonth, range[0].wMonth);
expect(st.wDay, range[0].wDay); expect(st.wDay, range[0].wDay);
if (range[0].wDayOfWeek == 0) if (range[0].wDayOfWeek != st.wDayOfWeek)
{ {
win_skip("comctl32 <= 4.70 doesn't set some values\n"); win_skip("comctl32 <= 4.70 doesn't set some values\n");
old_comctl32 = TRUE; old_comctl32 = TRUE;