feature #1617: Add default to disk_attribute

This commit is contained in:
Ruben S. Montero committed 2012-11-29 23:29:28 +01:00
1 parent 0aa1b5577f
commit 2d25550e6f
1 file changed
+3
+3
View File
@@ -545,6 +545,9 @@ int Image::disk_attribute( VectorAttribute * disk,
disk_attr_type = "CDROM";
disk->replace("READONLY","YES");
break;
default: //Other file types should not be never a DISK
break;
}
disk->replace("TYPE",disk_attr_type);