Changeset 89


Ignore:
Timestamp:
12/16/2007 8:13:28 AM (4 years ago)
Author:
lowjoel
Message:

Fixed command line error when -silent was passed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Launcher/Launcher.cpp

    r71 r89  
    486486        if (!bFolders && bKeepFolder) 
    487487            throw InvalidCommandLineException("Data to erase is not a folder, -keepfolder has no effect."); 
    488         if (bSilent && bResults) 
     488        if (bSilent && bResults == TRUE) 
    489489            throw InvalidCommandLineException("-silent and -results are mutually exclusive."); 
    490490        if (bOptions && bQueue) 
     
    504504        { 
    505505            if (bResults == -1) 
    506                 kReg.GetValue(bResults, ERASER_REGISTRY_RESULTS_FILES, TRUE); 
     506                if (!bSilent) 
     507                    kReg.GetValue(bResults, ERASER_REGISTRY_RESULTS_FILES, TRUE); 
     508                else 
     509                    bResults = FALSE; 
    507510            if (bResultsOnError == -1) 
    508511                kReg.GetValue(bResultsOnError, ERASER_REGISTRY_RESULTS_WHENFAILED, FALSE); 
Note: See TracChangeset for help on using the changeset viewer.