- Timestamp:
- Oct 23, 2009 11:53:22 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 53869
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestProp.cpp
r23875 r24024 310 310 311 311 if (!pszValue && !pszFlags) 312 CHECK_ERROR(machine, SetGuestPropertyValue(Bstr(pszName), Bstr( )));312 CHECK_ERROR(machine, SetGuestPropertyValue(Bstr(pszName), Bstr(""))); 313 313 else if (!pszFlags) 314 314 CHECK_ERROR(machine, SetGuestPropertyValue(Bstr(pszName), Bstr(pszValue))); -
trunk/src/VBox/Main/MachineImpl.cpp
r23973 r24024 3363 3363 rc = E_FAIL; 3364 3364 else 3365 rc = directControl->AccessGuestProperty (aName, aValue, aFlags,3366 true /* isSetter */,3367 3365 rc = directControl->AccessGuestProperty 3366 (aName, *aValue ? aValue : NULL, aFlags, 3367 true /* isSetter */, &dummy, &dummy64, &dummy); 3368 3368 } 3369 3369 }
Note:
See TracChangeset
for help on using the changeset viewer.