Tag, you're it!
This commit is contained in:
+2
-1
@@ -10,6 +10,7 @@
|
||||
#if defined(_WINDOWS)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#include <wchar.h>
|
||||
#include <map>
|
||||
|
||||
RageLog* LOG; // global and accessable from anywhere in the program
|
||||
@@ -262,7 +263,7 @@ void RageLog::Write( int where, const RString &sLine )
|
||||
sStr.insert( 0, sWarning );
|
||||
|
||||
if( m_bShowLogOutput || (where&WRITE_TO_INFO) )
|
||||
_putws( (const wchar_t *)sStr.c_str() );
|
||||
fputws( (const wchar_t *)sStr.c_str(), stdout );
|
||||
if( where & WRITE_TO_INFO )
|
||||
AddToInfo( sStr );
|
||||
if( m_bLogToDisk && (where&WRITE_TO_INFO) && g_fileInfo->IsOpen() )
|
||||
|
||||
Reference in New Issue
Block a user