Skip to content

Commit 878cec4

Browse files
author
Pavel Kovalenko
committed
Fix incorrect argument in call to Msg().
1 parent 8b67bb5 commit 878cec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xrCore/dump_string.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ std::string dump_string( LPCSTR name, const Fmatrix &form )
4545

4646
void dump( LPCSTR name, const Fmatrix &form )
4747
{
48-
Msg( "%s", dump_string( name, form ) );
48+
Msg( "%s", dump_string( name, form ).c_str() );
4949
//Msg( "%s, _14_=%f ", dump_string( make_string( "%s.i, ", name ).c_str(), form.i ).c_str( ) , form._14_ );
5050
//Msg( "%s, _24_=%f ", dump_string( make_string( "%s.j, ", name ).c_str(), form.j ).c_str( ) , form._24_ );
5151
//Msg( "%s, _34_=%f ", dump_string( make_string( "%s.k, ", name ).c_str(), form.k ).c_str( ) , form._34_ );

0 commit comments

Comments
 (0)