From 2e9aa16da95ecc67a0fb0cf0f99e3dfe324d1ab3 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Wed, 15 Oct 2008 10:24:13 -0500 Subject: [PATCH] kernel32: Return uppercase drive letter in GetLogicalDriveStrings. --- dlls/kernel32/volume.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/kernel32/volume.c b/dlls/kernel32/volume.c index 74397a9f9b..4214cca1f3 100644 --- a/dlls/kernel32/volume.c +++ b/dlls/kernel32/volume.c @@ -1155,7 +1155,7 @@ UINT WINAPI GetLogicalDriveStringsA( UINT len, LPSTR buffer ) { if (drives & (1 << drive)) { - *buffer++ = 'a' + drive; + *buffer++ = 'A' + drive; *buffer++ = ':'; *buffer++ = '\\'; *buffer++ = 0; @@ -1181,7 +1181,7 @@ UINT WINAPI GetLogicalDriveStringsW( UINT len, LPWSTR buffer ) { if (drives & (1 << drive)) { - *buffer++ = 'a' + drive; + *buffer++ = 'A' + drive; *buffer++ = ':'; *buffer++ = '\\'; *buffer++ = 0;