attempt to get multi-byte characters working in RageLog

This commit is contained in:
AJ Kelly
2011-07-09 23:17:34 -05:00
parent b6b41d87a1
commit 916c9840cf
+1 -1
View File
@@ -262,7 +262,7 @@ void RageLog::Write( int where, const RString &sLine )
sStr.insert( 0, sWarning );
if( m_bShowLogOutput || (where&WRITE_TO_INFO) )
puts( sStr );
_putws( (const wchar_t *)sStr.c_str() );
if( where & WRITE_TO_INFO )
AddToInfo( sStr );
if( m_bLogToDisk && (where&WRITE_TO_INFO) && g_fileInfo->IsOpen() )