VirtualBox

Changeset 94925 in vbox


Ignore:
Timestamp:
May 8, 2022 7:56:55 PM (3 years ago)
Author:
vboxsync
Message:

Main/src-client/RecordingUtils.cpp: Adjust to the new rules wrt. to rc -> hrc,vrc usage, ​bugref:10223

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/RecordingUtils.cpp

    r93115 r94925  
    117117{
    118118    enum { PIX_SIZE = 3 };
    119     bool rc = true;
     119    bool fRc = true;
    120120    AssertReturn(0 == (aWidth & 1), false);
    121121    AssertReturn(0 == (aHeight & 1), false);
    122122    T iter(aWidth, aHeight, aSrcBuf);
    123123    unsigned cPixels = aWidth * aHeight;
    124     for (unsigned i = 0; i < cPixels && rc; ++i)
     124    for (unsigned i = 0; i < cPixels && fRc; ++i)
    125125    {
    126126        unsigned red, green, blue;
    127         rc = iter.getRGB(&red, &green, &blue);
    128         if (rc)
     127        fRc = iter.getRGB(&red, &green, &blue);
     128        if (fRc)
    129129        {
    130130            aDestBuf[i * PIX_SIZE    ] = red;
     
    133133        }
    134134    }
    135     return rc;
     135    return fRc;
    136136}
    137137
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