VirtualBox

Ignore:
Timestamp:
Mar 16, 2014 6:26:56 PM (11 years ago)
Author:
vboxsync
Message:

no comment.

File:
1 edited

Legend:

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

    r50631 r50796  
    251251    if (machineView() && pMessage->message == WM_SIZING && !(QApplication::keyboardModifiers() & Qt::ShiftModifier))
    252252    {
    253         if (double dAspectRatio = machineView()->aspectRatio())
     253        double dAspectRatio = machineView()->aspectRatio();
     254        if (dAspectRatio)
    254255        {
    255256            RECT *pRect = reinterpret_cast<RECT*>(pMessage->lParam);
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