From 05b0a097acbc7304c5a63f71726f11eb3a035c9d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 25 Sep 2012 11:43:42 +0530 Subject: [PATCH] Revert the change to ignore the A: and B: drives on windows --- src/calibre/utils/windows/winutil.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/calibre/utils/windows/winutil.c b/src/calibre/utils/windows/winutil.c index 6b23f47c6d..53ebfcca89 100644 --- a/src/calibre/utils/windows/winutil.c +++ b/src/calibre/utils/windows/winutil.c @@ -295,10 +295,10 @@ get_all_removable_disks(struct tagDrives *g_drives) for(nLoopIndex = 0; nLoopIndex < MAX_DRIVES; nLoopIndex++) { - // if a drive is present (we ignore the A and B drives as they are - // always present (even if no actual floppy is present) and we dont - // care about floppies) - if(nLoopIndex > 1 && dwDriveMask & 1) + // if a drive is present (we cannot ignore the A and B drives as there + // are people out there that think mapping devices to use those letters + // is a good idea, sigh) + if(dwDriveMask & 1) { caDrive[0] = 'A' + nLoopIndex;