VirtualBox

Changeset 18395 in vbox


Ignore:
Timestamp:
Mar 27, 2009 2:05:37 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
45191
Message:

OVF: fix incorrect progress weighting

File:
1 edited

Legend:

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

    r18388 r18395  
    32653265    if (ulTotalMB)
    32663266    {
    3267         ulTotalOperationsWeight = (ULONG)((double)ulTotalMB * 99 / 100);    // use 99% of the progress for the disks
    32683267        m->ulWeightPerOperation = (ULONG)((double)ulTotalMB * 1  / 100);    // use 1% of the progress for the XML
     3268        ulTotalOperationsWeight = ulTotalMB + m->ulWeightPerOperation;
    32693269    }
    32703270    else
Note: See TracChangeset for help on using the changeset viewer.

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