VirtualBox

Changeset 57355 in vbox for trunk/src/bldprogs/scmrw.cpp


Ignore:
Timestamp:
Aug 14, 2015 3:03:02 PM (9 years ago)
Author:
vboxsync
Message:

scmrw.cpp: Fixed copy & paste confusion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bldprogs/scmrw.cpp

    r57353 r57355  
    575575     * Work thru the file line by line looking for flower box markers.
    576576     */
    577     bool        fModified = false;
     577    size_t      cChanges = 0;
    578578    size_t      cBlankLines = 0;
    579579    SCMEOL      enmEol;
     
    618618                ScmStreamPutEol(pOut, enmEol);
    619619
    620                 fModified = true;
     620                cChanges++;
    621621                cBlankLines = 0;
    622622                continue;
     
    635635            cBlankLines++;
    636636    }
    637     if (fModified)
    638         ScmVerbose(pState, 2, " * Converted EOL markers\n");
    639     return fModified;
     637    if (cChanges > 0)
     638        ScmVerbose(pState, 2, " * Converted %zu flower boxer markers\n", cChanges);
     639    return cChanges != 0;
    640640}
    641641
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