Fixed some 'too many newlines' bugs in the Console namespace.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1096 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-05-01 02:12:45 +00:00
parent 5edb195282
commit e24851927a
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ namespace Console
va_list list; va_list list;
va_start(list,dummy); va_start(list,dummy);
WriteLn( vfmt_string( fmt, list ).c_str() ); Write( vfmt_string( fmt, list ).c_str() );
va_end(list); va_end(list);
return false; return false;

View File

@ -95,7 +95,7 @@ namespace Console
if (emuLog != NULL) if (emuLog != NULL)
{ {
fputs("\n", emuLog); fputs("", emuLog);
fflush( emuLog ); fflush( emuLog );
} }
@ -114,7 +114,7 @@ namespace Console
// No flushing here -- only flush after newlines. // No flushing here -- only flush after newlines.
if (emuLog != NULL) if (emuLog != NULL)
fputs(fmt, emuLog); fprintf( emuLog, fmt );
return false; return false;
} }