dlls/shell32/shv_item_cmenu.c
Ge van Geldorp
gvg at reactos.com
Mon Sep 20 10:55:46 CDT 2004
Changelog:
Martin Fuchs <martin-fuchs at gmx.net>
make drive letters in PIDLs always uppercase to enable PIDL comparison
Index: shfldr_mycomp.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/shfldr_mycomp.c,v
retrieving revision 1.25
diff -u -r1.25 shfldr_mycomp.c
--- shfldr_mycomp.c 6 Sep 2004 20:34:29 -0000 1.25
+++ shfldr_mycomp.c 20 Sep 2004 15:51:40 -0000
@@ -216,6 +216,7 @@
/* do we have an absolute path name ? */
else if (PathGetDriveNumberW (lpszDisplayName) >= 0 && lpszDisplayName[2] == (WCHAR) '\\') {
szNext = GetNextElementW (lpszDisplayName, szElement, MAX_PATH);
+ szElement[0] = toupper(szElement[0]); /* make drive letter uppercase to enable PIDL comparison */
pidlTemp = _ILCreateDrive (szElement);
}
More information about the wine-patches
mailing list