sal/osl/all/log.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b4f9ce195f57a826a56983130ef1920a717797fa Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Thu Feb 28 11:41:47 2019 +0100 Commit: Luboš Luňák <l.lu...@collabora.com> CommitDate: Fri Mar 1 11:22:04 2019 +0100 make SAL_DEBUG add newline in Windows debug console too Change-Id: I7485ab11e4bb60420153ac53784057e5cc905c39 Reviewed-on: https://gerrit.libreoffice.org/68499 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lu...@collabora.com> diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx index 1a0d0ada6f1c..92352f48316c 100644 --- a/sal/osl/all/log.cxx +++ b/sal/osl/all/log.cxx @@ -336,11 +336,11 @@ void sal_detail_log( *logFile << s.str() << std::endl; } else { + s << '\n'; #ifdef _WIN32 // write to Windows debugger console, too OutputDebugStringA(s.str().c_str()); #endif - s << '\n'; std::fputs(s.str().c_str(), stderr); std::fflush(stderr); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits