Commit bfb06531 authored by Martin Fuchs's avatar Martin Fuchs Committed by Alexandre Julliard

Make drive letters in PIDLs always uppercase to enable PIDL

comparison.
parent 9a655469
......@@ -216,6 +216,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 */
pidlTemp = _ILCreateDrive (szElement);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment