shell32/tests: Fix tests on localized platforms.
Nicolas Le Cam
niko.lecam at gmail.com
Sat Apr 4 06:42:28 CDT 2009
---
dlls/shell32/tests/shellpath.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/tests/shellpath.c b/dlls/shell32/tests/shellpath.c
index 302448e..4cacb08 100644
--- a/dlls/shell32/tests/shellpath.c
+++ b/dlls/shell32/tests/shellpath.c
@@ -58,6 +58,9 @@
#ifndef PT_FOLDER
#define PT_FOLDER 0x31 /* has path */
#endif
+#ifndef PT_FOLDERW
+#define PT_FOLDERW 0x35 /* has path */
+#endif
#ifndef PT_WORKGRP
#define PT_WORKGRP 0x41 /* no path */
#endif
@@ -90,8 +93,8 @@ static DLLVERSIONINFO shellVersion = { 0 };
static LPMALLOC pMalloc;
static const BYTE guidType[] = { PT_GUID };
static const BYTE controlPanelType[] = { PT_SHELLEXT, PT_GUID };
-static const BYTE folderType[] = { PT_FOLDER };
-static const BYTE favoritesType[] = { PT_FOLDER, 0, PT_IESPECIAL2 /* Win98 */ };
+static const BYTE folderType[] = { PT_FOLDER, PT_FOLDERW };
+static const BYTE favoritesType[] = { PT_FOLDER, PT_FOLDERW, 0, PT_IESPECIAL2 /* Win98 */ };
static const BYTE folderOrSpecialType[] = { PT_FOLDER, PT_IESPECIAL2 };
static const BYTE personalType[] = { PT_FOLDER, PT_GUID, PT_DRIVE, 0xff /* Win9x */,
PT_IESPECIAL2 /* Win98 */, 0 /* Vista */ };
--
1.5.6.3
--=-FC3MsFzYxWnOySfbT5w+--
More information about the wine-patches
mailing list