fix drive path so fileAccess will work with it

This commit is contained in:
Joey Hess 2013-12-09 17:58:49 -04:00
parent 43b6a0f71c
commit 0bb9ace195

View file

@ -351,7 +351,7 @@ driveList :: IO [RemovableDrive]
#ifdef mingw32_HOST_OS
-- Just enumerate all likely drive letters for Windows.
-- Could use wmic, but it only works for administrators.
driveList = return $ map (\l -> gen $ l:":") ['A'..'Z']
driveList = return $ map (\l -> gen $ l:":\\") ['A'..'Z']
where
gen dir = RemovableDrive
Nothing