- Timestamp:
- Jan 14, 2011 2:16:22 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/ovfreader.cpp
r35536 r35566 751 751 // ovf://disk/lamp 752 752 // 123456789012345 753 if (i.strHostResource.s ubstr(0, 11) == "ovf://disk/")753 if (i.strHostResource.startsWith("ovf://disk/")) 754 754 vd.strDiskId = i.strHostResource.substr(11); 755 else if (i.strHostResource.s ubstr(0, 10) == "ovf:/disk/")755 else if (i.strHostResource.startsWith("ovf:/disk/")) 756 756 vd.strDiskId = i.strHostResource.substr(10); 757 else if (i.strHostResource.s ubstr(0, 6) == "/disk/")757 else if (i.strHostResource.startsWith("/disk/")) 758 758 vd.strDiskId = i.strHostResource.substr(6); 759 759
Note:
See TracChangeset
for help on using the changeset viewer.