shell32/tests: Fix some test failures on Vista.

This commit is contained in:
Paul Vriens 2009-04-15 17:06:01 +02:00 committed by Alexandre Julliard
parent 8ac4c98be2
commit b7bd852650
1 changed files with 2 additions and 1 deletions

View File

@ -1494,7 +1494,8 @@ static void test_ITEMIDLIST_format(void) {
pFileStructA->uFileTime == pFileStructW->uTime2,
"Last write time should match last access time!\n");
ok (!lstrcmpW(wszFile[i], pFileStructW->wszName),
ok (!lstrcmpW(wszFile[i], pFileStructW->wszName) ||
!lstrcmpW(wszFile[i], (WCHAR *)(pFileStructW->abFooBar2 + 22)), /* Vista */
"The filename should be stored in unicode at this position!\n");
}
}