VirtualBox

Changeset 92867 in vbox


Ignore:
Timestamp:
Dec 10, 2021 7:16:31 PM (3 years ago)
Author:
vboxsync
Message:

VBoxDbg: Fixed bug in iterateStatsByPattern making it skip the first child of all but the root.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/VBoxDbgStatsQt.cpp

    r90543 r92867  
    20292029    DBGGUISTATSSTACK Stack;
    20302030    Stack.a[0].pNode   = m_pRoot;
    2031     Stack.a[0].iChild  = -1;
     2031    Stack.a[0].iChild  = 0;
    20322032    Stack.a[0].cchName = 0;
    20332033    Stack.iTop         = 0;
     
    20412041        PDBGGUISTATSNODE const pNode   = Stack.a[Stack.iTop].pNode;
    20422042        uint16_t               cchName = Stack.a[Stack.iTop].cchName;
    2043         uint32_t const         iChild  = ++Stack.a[Stack.iTop].iChild;
     2043        uint32_t const         iChild  = Stack.a[Stack.iTop].iChild++;
    20442044        if (iChild < pNode->cChildren)
    20452045        {
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