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