Ignore:
Timestamp:
05/29/15 17:28:16 (10 years ago)
Author:
epyon
Message:
  • oops, missed src : got rid of to_string and other std::string utilities (except slurp) string no longer in nv namespace
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/gui_gfx_renderer.cc

    r378 r380  
    190190{
    191191        std::string id_name( filename );
    192         id_name.append( std::to_string( size ) );
     192        char buffer[8]; size_t len = nv::sint32_to_buffer( (sint32)size, buffer );
     193        id_name.append( std::string( buffer, len ) );
    193194        auto i = m_font_names.find( id_name );
    194195        if ( i != m_font_names.end() )
Note: See TracChangeset for help on using the changeset viewer.