VirtualBox

Changeset 4336 in vbox


Ignore:
Timestamp:
Aug 24, 2007 9:51:03 AM (17 years ago)
Author:
vboxsync
Message:

Runtime: rtStrFormatNumber(): Use 10 as number base when 0 is passed.

File:
1 edited

Legend:

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

    r4071 r4336  
    157157     * Validate and addjust input...
    158158     */
     159    if (uiBase == 0)
     160        uiBase = 10;
    159161    kASSERT((uiBase >= 2 || uiBase <= 16));
    160162    if (fFlags & RTSTR_F_CAPITAL)
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