VirtualBox

Changeset 33621 in vbox for trunk/src/VBox/Main/glue


Ignore:
Timestamp:
Oct 29, 2010 4:15:40 PM (14 years ago)
Author:
vboxsync
Message:

Utf8Str: Use printfV in Utf8StrFmt, eliminated Utf8StrFmtVA by replacing it by a Utf8Str(str,va) constructor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/string.cpp

    r33563 r33621  
    139139}
    140140
    141 void Utf8StrFmt::init(const char *format, va_list args)
    142 {
    143     if (!format || !*format)
    144     {
    145         m_cch = 0;
    146         m_cbAllocated = 0;
    147         m_psz = NULL;
    148     }
    149     else
    150     {
    151         m_cch = RTStrAPrintfV(&m_psz, format, args);
    152         m_cbAllocated = m_cch + 1;
    153     }
    154 }
    155 
    156141} /* namespace com */
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