VirtualBox

Changeset 38058 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 19, 2011 9:20:42 AM (13 years ago)
Author:
vboxsync
Message:

Main-CloneVM: fix wrong check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImplCloneVM.cpp

    r38049 r38058  
    799799                        if (   !bstrSrcPath.isEmpty()
    800800                            &&  RTPathStartsWith(Utf8Str(bstrSrcPath).c_str(), Utf8Str(bstrSrcSnapshotFolder).c_str())
    801                             && !(fKeepDiskNames || mt.strBaseName.isEmpty()))
     801                            && !(!fKeepDiskNames && !mt.strBaseName.isEmpty()))
    802802                            strFile = Utf8StrFmt("%s%c%s", strTrgSnapshotFolder.c_str(), RTPATH_DELIMITER, strNewName.c_str());
    803803
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