VirtualBox

Changeset 23624 in vbox


Ignore:
Timestamp:
Oct 8, 2009 4:23:30 PM (15 years ago)
Author:
vboxsync
Message:

Main/ConsoleImpl: fix incorrect assertion when changing to host dvd/floppy.

File:
1 edited

Legend:

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

    r23606 r23624  
    29772977            rc = CFGMR3InsertString(pLunL0, "Driver",       !strcmp(pszDevice, "i82078") ? "HostFloppy" : "HostDVD");   RC_CHECK();
    29782978            rc = CFGMR3InsertNode(pLunL0,   "Config",       &pCfg);     RC_CHECK();
    2979             Assert(!pszPath && !*pszPath);
     2979            Assert(pszPath && *pszPath);
    29802980            rc = CFGMR3InsertString(pCfg,   "Path",         pszPath);   RC_CHECK();
    29812981            if (strcmp(pszDevice, "i82078"))
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