VirtualBox

Ignore:
Timestamp:
Jul 14, 2011 1:28:24 PM (13 years ago)
Author:
vboxsync
Message:

testcase

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/strformatrt.cpp

    r37964 r37965  
    10221022        if ((a_uVal) & (a_fBitMask)) \
    10231023        { \
    1024             if (!cPrinted) \
     1024            if (!cPrinted++) \
    10251025                cchOutput += pfnOutput(pvArgOutput, "{" a_szName, sizeof(a_szName)); \
    10261026            else \
     
    10331033        if ((a_uVal)) \
    10341034        { \
    1035             cchOutput += pfnOutput(pvArgOutput, cPrinted ? "{unkn=" : ",unkn=", 6); \
     1035            cchOutput += pfnOutput(pvArgOutput, !cPrinted ? "{unkn=" : ",unkn=", 6); \
    10361036            cch = RTStrFormatNumber(&szBuf[0], (a_uVal), 16, 8, -1, fFlags); \
    10371037            cchOutput += pfnOutput(pvArgOutput, szBuf, cch); \
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