ISF_MyComputer_fnParseDisplayName()

Martin Fuchs martin-fuchs at gmx.net
Wed Apr 14 02:37:39 CDT 2004


    13 Apr 2004 20:45:39 -0000
> > @@ -217,6 +217,7 @@ ISF_MyComputer_fnParseDisplayName (IShel
> >      /* 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 */

> It's better to use unicode version here (toupperW) since in some
> linux locales uppercasing is done differently.

Even for drive letters?
The only valid characters you will find in szElement[0] are a..z and A..Z.

Regards,

   Martin




More information about the wine-devel mailing list