VirtualBox

Changeset 19023 in vbox


Ignore:
Timestamp:
Apr 20, 2009 1:21:30 PM (16 years ago)
Author:
vboxsync
Message:

fixed typo in VBoxMange modifyvm VM_NAME -idecontroller

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp

    r18829 r19023  
    12771277            CHECK_ERROR(machine, GetStorageControllerByName(Bstr("IDE"), storageController.asOutParam()));
    12781278
    1279             if (RTStrICmp(idecontroller, "PIIX3"))
     1279            if (!RTStrICmp(idecontroller, "PIIX3"))
    12801280            {
    12811281                CHECK_ERROR(storageController, COMSETTER(ControllerType)(StorageControllerType_PIIX3));
    12821282            }
    1283             else if (RTStrICmp(idecontroller, "PIIX4"))
     1283            else if (!RTStrICmp(idecontroller, "PIIX4"))
    12841284            {
    12851285                CHECK_ERROR(storageController, COMSETTER(ControllerType)(StorageControllerType_PIIX4));
    12861286            }
    1287             else if (RTStrICmp(idecontroller, "ICH6"))
     1287            else if (!RTStrICmp(idecontroller, "ICH6"))
    12881288            {
    12891289                CHECK_ERROR(storageController, COMSETTER(ControllerType)(StorageControllerType_ICH6));
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