voicerecorder/UtilsSrc/VRUtils.cpp
branchRCL_3
changeset 29 c9b63fff5abf
parent 25 c6bafb5162d8
--- a/voicerecorder/UtilsSrc/VRUtils.cpp	Wed Sep 15 12:15:47 2010 +0300
+++ b/voicerecorder/UtilsSrc/VRUtils.cpp	Wed Oct 13 14:34:59 2010 +0300
@@ -1087,7 +1087,8 @@
 	TInt removableStorageErr = DriveInfo::GetDefaultDrive(
 			DriveInfo::EDefaultRemovableMassStorage,    driveRemovableMassStorage );
 	if ( (defaultStorageErr) || (removableStorageErr) ||
-			( driveDefaultMassStorage == driveRemovableMassStorage ) )
+			( driveDefaultMassStorage == driveRemovableMassStorage ) ||
+			!DriveValid(driveDefaultMassStorage) || !DriveValid(driveRemovableMassStorage) )
 		{ flag = EFalse; }
 	
 	return flag;