Revert the change to ignore the A: and B: drives on windows

This commit is contained in:
Kovid Goyal 2012-09-25 11:43:42 +05:30
parent 984d2b8b76
commit 05b0a097ac

View File

@ -295,10 +295,10 @@ get_all_removable_disks(struct tagDrives *g_drives)
for(nLoopIndex = 0; nLoopIndex < MAX_DRIVES; nLoopIndex++) for(nLoopIndex = 0; nLoopIndex < MAX_DRIVES; nLoopIndex++)
{ {
// if a drive is present (we ignore the A and B drives as they are // if a drive is present (we cannot ignore the A and B drives as there
// always present (even if no actual floppy is present) and we dont // are people out there that think mapping devices to use those letters
// care about floppies) // is a good idea, sigh)
if(nLoopIndex > 1 && dwDriveMask & 1) if(dwDriveMask & 1)
{ {
caDrive[0] = 'A' + nLoopIndex; caDrive[0] = 'A' + nLoopIndex;