Changeset 21369 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jul 7, 2009 6:52:12 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 49721
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageImport.cpp
r21362 r21369 202 202 203 203 case VINF_GETOPT_NOT_OPTION: 204 if ( !strOvfFilename)204 if (strOvfFilename.isEmpty()) 205 205 strOvfFilename = ValueUnion.psz; 206 206 else … … 225 225 } 226 226 227 if ( !strOvfFilename)227 if (strOvfFilename.isEmpty()) 228 228 return errorSyntax(USAGE_IMPORTAPPLIANCE, "Not enough arguments for \"import\" command."); 229 229 -
trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp
r21362 r21369 801 801 SDL_GetDesktopDisplayMode(&desktop_mode); 802 802 /* create new window */ 803 803 804 804 char szTitle[64]; 805 805 RTStrPrintf(szTitle, sizeof(szTitle), "SDL window %d", mScreenId); … … 952 952 if (!mScreen || !mSurfVRAM) 953 953 return; 954 954 955 955 /* the source and destination rectangles */ 956 956 SDL_Rect srcRect; … … 1177 1177 1178 1178 /* now the text */ 1179 if (mLabelFont != NULL && mSecureLabelText) 1179 if ( mLabelFont != NULL 1180 && !mSecureLabelText.isEmpty() 1181 ) 1180 1182 { 1181 1183 SDL_Color clrFg = {(mSecureLabelColorFG & 0x00FF0000) >> 16,
Note:
See TracChangeset
for help on using the changeset viewer.