Changeset 23337 in vbox for trunk/src/VBox/Main/MediumImpl.cpp
- Timestamp:
- Sep 25, 2009 3:04:23 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MediumImpl.cpp
r23327 r23337 898 898 899 899 /* cannot be a host drive */ 900 m->hostDrive = false;900 m->hostDrive = FALSE; 901 901 902 902 /* No storage unit is created yet, no need to queryInfo() */ … … 996 996 997 997 /* cannot be a host drive */ 998 m->hostDrive = false;998 m->hostDrive = FALSE; 999 999 1000 1000 /* remember the open mode (defaults to ReadWrite) */ … … 1092 1092 1093 1093 /* assume not a host drive */ 1094 m->hostDrive = false;1094 m->hostDrive = FALSE; 1095 1095 1096 1096 /* optional */ … … 3366 3366 bool isImport = m->format.isNull(); 3367 3367 3368 if (isImport || 3369 (m->formatObj->capabilities() & MediumFormatCapabilities_File)) 3368 if ( isImport 3369 || ( (m->formatObj->capabilities() & MediumFormatCapabilities_File) 3370 && !m->hostDrive)) 3370 3371 { 3371 3372 Guid id;
Note:
See TracChangeset
for help on using the changeset viewer.