Changeset 17743 in vbox for trunk/src/VBox/Frontends/VBoxBFE/VBoxBFE.cpp
- Timestamp:
- Mar 12, 2009 1:18:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBFE/VBoxBFE.cpp
r17542 r17743 1681 1681 rc = CFGMR3InsertString(pCfg, "Format", "SPF"); UPDATE_RC(); 1682 1682 } 1683 else if (!strcmp(RTPathExt(g_pszHdaFile), ".vdi"))1684 {1685 rc = CFGMR3InsertString(pCfg, "Format", "VDI"); UPDATE_RC();1686 }1687 1683 else 1688 1684 { 1689 rc = CFGMR3InsertString(pCfg, "Format", "VMDK"); UPDATE_RC(); 1685 char *pcExt = RTPathExt(g_pszHdaFile); 1686 if ((pcExt) && (!strcmp(pcExt, ".vdi"))) 1687 { 1688 rc = CFGMR3InsertString(pCfg, "Format", "VDI"); UPDATE_RC(); 1689 } 1690 else 1691 { 1692 rc = CFGMR3InsertString(pCfg, "Format", "VMDK"); UPDATE_RC(); 1693 } 1690 1694 } 1691 1695 } … … 1708 1712 rc = CFGMR3InsertString(pCfg, "Format", "SPF"); UPDATE_RC(); 1709 1713 } 1710 else if (!strcmp(RTPathExt(g_pszHdbFile), ".vdi"))1711 {1712 rc = CFGMR3InsertString(pCfg, "Format", "VDI"); UPDATE_RC();1713 }1714 1714 else 1715 1715 { 1716 rc = CFGMR3InsertString(pCfg, "Format", "VMDK"); UPDATE_RC(); 1716 char *pcExt = RTPathExt(g_pszHdbFile); 1717 if ((pcExt) && (!strcmp(pcExt, ".vdi"))) 1718 { 1719 rc = CFGMR3InsertString(pCfg, "Format", "VDI"); UPDATE_RC(); 1720 } 1721 else 1722 { 1723 rc = CFGMR3InsertString(pCfg, "Format", "VMDK"); UPDATE_RC(); 1724 } 1717 1725 } 1718 1726 }
Note:
See TracChangeset
for help on using the changeset viewer.