Juan Lang : shell32: Fix a few tests on Windows 98 and Vista.

Alexandre Julliard julliard at winehq.org
Fri Feb 6 09:55:38 CST 2009


Module: wine
Branch: master
Commit: 029c3fbb8dced0feb9abc8a97454e657950d41dc
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=029c3fbb8dced0feb9abc8a97454e657950d41dc

Author: Juan Lang <juan.lang at gmail.com>
Date:   Thu Feb  5 07:29:02 2009 -0800

shell32: Fix a few tests on Windows 98 and Vista.

---

 dlls/shell32/tests/shellpath.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/tests/shellpath.c b/dlls/shell32/tests/shellpath.c
index 71c236b..f6298d4 100644
--- a/dlls/shell32/tests/shellpath.c
+++ b/dlls/shell32/tests/shellpath.c
@@ -90,9 +90,10 @@ 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 };
+static const BYTE favoritesType[] = { PT_FOLDER, 0, PT_IESPECIAL2 /* Win98 */ };
 static const BYTE folderOrSpecialType[] = { PT_FOLDER, PT_IESPECIAL2 };
-static const BYTE personalType[] = { PT_FOLDER, PT_GUID, PT_DRIVE, 0xff /* Win9x */ };
+static const BYTE personalType[] = { PT_FOLDER, PT_GUID, PT_DRIVE, 0xff /* Win9x */,
+ PT_IESPECIAL2 /* Win98 */, 0 /* Vista */ };
 /* FIXME: don't know the type of 0x71 returned by Vista/2008 for printers */
 static const BYTE printersType[] = { PT_YAGUID, PT_SHELLEXT, 0x71 };
 static const BYTE ieSpecialType[] = { PT_IESPECIAL2 };




More information about the wine-cvs mailing list