kernel32: Return uppercase drive letter in GetLogicalDriveStrings.

This commit is contained in:
Jacek Caban 2008-10-15 10:24:13 -05:00 committed by Alexandre Julliard
parent 228c52de57
commit 2e9aa16da9

View File

@ -1155,7 +1155,7 @@ UINT WINAPI GetLogicalDriveStringsA( UINT len, LPSTR buffer )
{ {
if (drives & (1 << drive)) if (drives & (1 << drive))
{ {
*buffer++ = 'a' + drive; *buffer++ = 'A' + drive;
*buffer++ = ':'; *buffer++ = ':';
*buffer++ = '\\'; *buffer++ = '\\';
*buffer++ = 0; *buffer++ = 0;
@ -1181,7 +1181,7 @@ UINT WINAPI GetLogicalDriveStringsW( UINT len, LPWSTR buffer )
{ {
if (drives & (1 << drive)) if (drives & (1 << drive))
{ {
*buffer++ = 'a' + drive; *buffer++ = 'A' + drive;
*buffer++ = ':'; *buffer++ = ':';
*buffer++ = '\\'; *buffer++ = '\\';
*buffer++ = 0; *buffer++ = 0;