VirtualBox

Ignore:
Timestamp:
May 25, 2010 1:13:35 PM (15 years ago)
Author:
vboxsync
Message:

iprt: %.5RX32 ++ bug fix - precision should padd with '0' as it used to do.

File:
1 edited

Legend:

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

    r29683 r29783  
    273273     */
    274274    while (--cchPrecision >= cchValue)
    275         *psz++ = ' ';
     275        *psz++ = '0';
    276276
    277277    /*
     
    352352 * @param   InArgs      Argument list.
    353353 */
    354 RTDECL(size_t) RTStrFormatV(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, PFNSTRFORMAT pfnFormat, void *pvArgFormat, 
     354RTDECL(size_t) RTStrFormatV(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, PFNSTRFORMAT pfnFormat, void *pvArgFormat,
    355355                            const char *pszFormat, va_list InArgs)
    356356{
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