comctl32/tests: Fix misc test on Win7.

This commit is contained in:
Ge van Geldorp 2001-09-17 00:00:00 +02:00 committed by Alexandre Julliard
parent 9925991bf3
commit e1b5ca70bb
1 changed files with 3 additions and 1 deletions

View File

@ -104,7 +104,9 @@ static void test_GetPtrAW(void)
ok (count == sourcelen || ok (count == sourcelen ||
broken(count == 0), /* win9x */ broken(count == 0), /* win9x */
"Expected count to be %d, it was %d\n", sourcelen, count); "Expected count to be %d, it was %d\n", sourcelen, count);
ok (!lstrcmp(dest, desttest), "Expected destination to not have changed\n"); ok (!lstrcmp(dest, desttest) ||
broken(!lstrcmp(dest, "")), /* Win7 */
"Expected destination to not have changed\n");
count = 0; count = 0;
count = pStr_GetPtrA(source, NULL, destsize); count = pStr_GetPtrA(source, NULL, destsize);