VirtualBox

Changeset 30379 in vbox


Ignore:
Timestamp:
Jun 22, 2010 3:54:58 PM (15 years ago)
Author:
vboxsync
Message:

Main: fix bug that saved states were never written to machine XML if machine's snapshot folder was set to a non-default value

File:
1 edited

Legend:

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

    r30377 r30379  
    77217721        /* try to make the file name relative to the settings file dir */
    77227722        calculateRelativePath(mSSData->mStateFilePath, config.strStateFile);
     7723        if (!config.strStateFile.length())
     7724            // path is not relative (e.g. because snapshot folder was changed to a non-default location):
     7725            config.strStateFile = mSSData->mStateFilePath;
    77237726    }
    77247727    else
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