VirtualBox

Ignore:
Timestamp:
May 23, 2009 3:42:57 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
47644
Message:

IPRT: Implemented thousand separators for the string formatting code and RTStrFormatNumber. (For instance %'u.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/Settings.cpp

    r16560 r19942  
    246246
    247247    stdx::char_auto_ptr result (new char [len]);
     248    if (aBase == 0)
     249        aBase = 10;
    248250    int vrc = RTStrFormatNumber (result.get(), aValue, aBase, 0, 0, flags);
    249251    if (RT_SUCCESS (vrc))
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette