VirtualBox

Ignore:
Timestamp:
Jan 28, 2015 3:45:03 PM (10 years ago)
Author:
vboxsync
Message:

Additions/common/VBoxClient: uninitialised variable and helpful curly brackets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/display.cpp

    r54008 r54018  
    273273    updateScreenInformation(pState, 1024, 768, 0, 1, 0, 0, true, false);
    274274    if (rc == VINF_SUCCESS)
     275    {
    275276        /* The "8" is for the sanity test below. */
    276277        for (i = 0; i < RT_MAX(cScreensTracked + 1, 8); ++i)
     
    287288                updateScreenInformation(pState, cx, cy, cBPP, i, x, y, fEnabled, true);
    288289        }
     290    }
    289291    while (true)
    290292    {
     
    319321                VBClFatalError(("Received a size hint for too high display number %u\n",
    320322                            (unsigned) iDisplay));
    321             updateScreenInformation(pState, cx, cy, cBPP, i, x, y, fEnabled, fUpdatePosition);
     323            updateScreenInformation(pState, cx, cy, cBPP, iDisplay, x, y, fEnabled, fUpdatePosition);
    322324            rc = VbglR3SeamlessGetLastEvent(&Mode);
    323325            if (RT_FAILURE(rc))
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