VirtualBox

Ignore:
Timestamp:
Jul 7, 2009 6:52:12 PM (16 years ago)
Author:
vboxsync
Message:

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

File:
1 edited

Legend:

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

    r21362 r21369  
    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.

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