- Timestamp:
- Jul 7, 2009 4:33:26 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 49709
- Location:
- trunk/src/VBox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/VBox/Frontends/VBoxManage/VBoxManageImport.cpp ¶
r20928 r21360 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 -
TabularUnified trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.cpp ¶
r21029 r21360 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, -
TabularUnified trunk/src/VBox/Main/ConsoleImpl.cpp ¶
r21219 r21360 6666 6666 6667 6667 /* Load saved state? */ 6668 if (! !task->mSavedStateFile)6668 if (!task->mSavedStateFile.isEmpty()) 6669 6669 { 6670 6670 LogFlowFunc (("Restoring saved state from '%s'...\n", -
TabularUnified trunk/src/VBox/Main/SnapshotImpl.cpp ¶
r19239 r21360 412 412 413 413 /* state file may be NULL (for offline snapshots) */ 414 if (path && RTPathStartsWith (path, aOldPath)) 414 if ( !path.isEmpty() 415 && RTPathStartsWith(path, aOldPath) 416 ) 415 417 { 416 418 path = Utf8StrFmt ("%s%s", aNewPath, path.raw() + strlen (aOldPath));
Note:
See TracChangeset
for help on using the changeset viewer.