VirtualBox

Changeset 43545 in vbox


Ignore:
Timestamp:
Oct 4, 2012 2:17:39 PM (12 years ago)
Author:
vboxsync
Message:

BUGZ:6387 fixed typo: adjust VM window position only in case of Normal and Scale mode; fixed coding style.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp

    r43424 r43545  
    153153    foreach(UIMachineWindow *pMachineWindow, machineLogic()->machineWindows())
    154154    {
    155         bool bAdjustPosition = true;
     155        bool fAdjustPosition = false;
    156156        UIVisualStateType visualStateType = machineLogic()->visualStateType();
    157157
    158158        if (visualStateType == UIVisualStateType_Normal ||
    159159            visualStateType == UIVisualStateType_Scale)
    160             bAdjustPosition = true;
     160            fAdjustPosition = true;
    161161
    162162        /* Normalize view's geometry: */
    163         pMachineWindow->machineView()->normalizeGeometry(bAdjustPosition);
     163        pMachineWindow->machineView()->normalizeGeometry(fAdjustPosition);
    164164    }
    165165}
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