VirtualBox

Changeset 21360 in vbox for trunk/src/VBox/Frontends/VBoxSDL


Ignore:
Timestamp:
Jul 7, 2009 4:33:26 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49709
Message:

IPRT: hide ministring::operator bool() to force people to use isEmpty() explicitly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp

    r21029 r21360  
    801801        SDL_GetDesktopDisplayMode(&desktop_mode);
    802802        /* create new window */
    803        
     803
    804804        char szTitle[64];
    805805        RTStrPrintf(szTitle, sizeof(szTitle), "SDL window %d", mScreenId);
     
    952952    if (!mScreen || !mSurfVRAM)
    953953        return;
    954    
     954
    955955    /* the source and destination rectangles */
    956956    SDL_Rect srcRect;
     
    11771177
    11781178    /* now the text */
    1179     if (mLabelFont != NULL && mSecureLabelText)
     1179    if (    mLabelFont != NULL
     1180         && !mSecureLabelText.isEmpty()
     1181       )
    11801182    {
    11811183        SDL_Color clrFg = {(mSecureLabelColorFG & 0x00FF0000) >> 16,
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette