projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4245c59
)
make drive letters in PIDLs always uppercase to enable PIDL comparison
author
Martin Fuchs
<fuchs.martin@gmail.com>
Tue, 13 Apr 2004 20:47:19 +0000
(20:47 +0000)
committer
Martin Fuchs
<fuchs.martin@gmail.com>
Tue, 13 Apr 2004 20:47:19 +0000
(20:47 +0000)
svn path=/trunk/; revision=9129
reactos/lib/shell32/shfldr_mycomp.c
patch
|
blob
|
history
diff --git
a/reactos/lib/shell32/shfldr_mycomp.c
b/reactos/lib/shell32/shfldr_mycomp.c
index
a9bb194
..
4828420
100644
(file)
--- a/
reactos/lib/shell32/shfldr_mycomp.c
+++ b/
reactos/lib/shell32/shfldr_mycomp.c
@@
-217,6
+217,7
@@
ISF_MyComputer_fnParseDisplayName (IShellFolder2 * iface,
/* 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 */
WideCharToMultiByte (CP_ACP, 0, szElement, -1, szTempA, MAX_PATH, NULL, NULL);
pidlTemp = _ILCreateDrive (szTempA);
}