Changeset 35666 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jan 21, 2011 12:05:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r35287 r35666 1333 1333 1334 1334 /* 1335 * Do we have a name but noUUID?1335 * Do we have a UUID? 1336 1336 */ 1337 if (vmName && uuidVM.isEmpty()) 1338 { 1337 if (!uuidVM.isEmpty()) 1338 { 1339 rc = pVirtualBox->FindMachine(uuidVM.toUtf16().raw(), pMachine.asOutParam()); 1340 if (FAILED(rc) || !pMachine) 1341 { 1342 RTPrintf("Error: machine with the given ID not found!\n"); 1343 goto leave; 1344 } 1345 } 1346 else if (vmName) 1347 { 1348 /* 1349 * Do we have a name but no UUID? 1350 */ 1339 1351 rc = pVirtualBox->FindMachine(Bstr(vmName).raw(), pMachine.asOutParam()); 1340 1352 if ((rc == S_OK) && pMachine)
Note:
See TracChangeset
for help on using the changeset viewer.