Tag, you're it!

This commit is contained in:
Jason Felds
2011-07-10 00:23:16 -04:00
parent 916c9840cf
commit 26ecf8107d
+2 -1
View File
@@ -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() )