X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e6f48d18c6173e0655120e50b66dace36f2d1c6..f938a756a1c5944f7cc3ee6f2e51effbc06fd9c0:/src/common/msgout.cpp diff --git a/src/common/msgout.cpp b/src/common/msgout.cpp index 3d8d15fd64..e0068a01fd 100755 --- a/src/common/msgout.cpp +++ b/src/common/msgout.cpp @@ -5,7 +5,7 @@ // Modified by: // Created: 17.07.02 // RCS-ID: $Id$ -// Copyright: (c) the wxWindows team +// Copyright: (c) the wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -135,10 +135,11 @@ void wxMessageOutputDebug::Printf(const wxChar* format, ...) SysBreakStr(pstr); #endif } -#else // !MSW, !Mac - // FIXME: why is wxFputs() not defined under Linux? - fputs(out.mb_str(), stderr); - fflush(stderr); +#else + wxFputs( out , stderr ) ; + if ( out.Right(1) != wxT("\n") ) + wxFputs( wxT("\n") , stderr ) ; + fflush( stderr ) ; #endif // platform }