From e24851927a7cd066722e4734be80001e976be9d1 Mon Sep 17 00:00:00 2001 From: "Jake.Stine" Date: Fri, 1 May 2009 02:12:45 +0000 Subject: [PATCH] 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 --- pcsx2/Console.cpp | 2 +- pcsx2/windows/WinConsole.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pcsx2/Console.cpp b/pcsx2/Console.cpp index 05676cf478..abed30a619 100644 --- a/pcsx2/Console.cpp +++ b/pcsx2/Console.cpp @@ -43,7 +43,7 @@ namespace Console va_list list; va_start(list,dummy); - WriteLn( vfmt_string( fmt, list ).c_str() ); + Write( vfmt_string( fmt, list ).c_str() ); va_end(list); return false; diff --git a/pcsx2/windows/WinConsole.cpp b/pcsx2/windows/WinConsole.cpp index e09246a7fa..c587ff1a4c 100644 --- a/pcsx2/windows/WinConsole.cpp +++ b/pcsx2/windows/WinConsole.cpp @@ -95,7 +95,7 @@ namespace Console if (emuLog != NULL) { - fputs("\n", emuLog); + fputs("", emuLog); fflush( emuLog ); } @@ -114,7 +114,7 @@ namespace Console // No flushing here -- only flush after newlines. if (emuLog != NULL) - fputs(fmt, emuLog); + fprintf( emuLog, fmt ); return false; }