[PATCH] Fix some test failures on Vista
Paul Vriens
Paul.Vriens.Wine at gmail.com
Wed Apr 15 10:06:01 CDT 2009
---
dlls/shell32/tests/shlfolder.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/tests/shlfolder.c b/dlls/shell32/tests/shlfolder.c
index 1d63778..72c4034 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");
}
}
--
1.6.0.6
--------------030507070405080308050700--
More information about the wine-patches
mailing list