src/messagelog.cpp

changeset 363
75583c9f289d
parent 351
6fdd32c4886c
child 404
902f137ea753
equal deleted inserted replaced
362:344fe1da32c8 363:75583c9f289d
113 return m_lines.end(); 113 return m_lines.end();
114 } 114 }
115 115
116 void DoLog( std::initializer_list<StringFormatArg> args ) 116 void DoLog( std::initializer_list<StringFormatArg> args )
117 { 117 {
118 g_win->addMessage( DoFormat( args )); 118 const str msg = DoFormat( args );
119 g_win->addMessage( msg );
120 print( "%1\n", msg );
119 } 121 }

mercurial