Revert. Lua warning logs do not show on runtime.
I think we have more to do first.
This commit is contained in:
+1
-1
@@ -263,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) )
|
||||||
fputws( (const wchar_t *)sStr.c_str(), stdout );
|
puts(sStr); //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