VirtualBox

Changeset 25314 in vbox for trunk


Ignore:
Timestamp:
Dec 10, 2009 6:33:15 PM (15 years ago)
Author:
vboxsync
Message:

Main/BIOSSettings: fix handling of empty string in logoImagePath setter, clarify

documentation

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/BIOSSettingsImpl.cpp

    r25310 r25314  
    293293STDMETHODIMP BIOSSettings::COMSETTER(LogoImagePath)(IN_BSTR imagePath)
    294294{
    295     /* empty strings are not allowed as path names */
    296     if (imagePath && !(*imagePath))
     295    /* NULL strings are not allowed */
     296    if (!imagePath)
    297297        return E_INVALIDARG;
    298298
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r24988 r25314  
    41184118
    41194119    <attribute name="logoImagePath" type="wstring">
    4120       <desc>Local file system path for external BIOS image.</desc>
     4120      <desc>
     4121        Local file system path for external BIOS splash image. Empty string
     4122        means the default image is shown on boot.
     4123      </desc>
    41214124    </attribute>
    41224125
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette