From b7bd85265015e85b4fde05c703e6d17e6d65e8b0 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Wed, 15 Apr 2009 17:06:01 +0200 Subject: [PATCH] shell32/tests: Fix some test failures on Vista. --- dlls/shell32/tests/shlfolder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c index 1d637787158..72c4034029c 100644 --- a/dlls/shell32/tests/shlfolder.c +++ b/dlls/shell32/tests/shlfolder.c @@ -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"); } }