From 849221debcefa8598983f2c129600e2e823bf6e0 Mon Sep 17 00:00:00 2001 From: atraczyk <andreastraczyk@gmail.com> Date: Wed, 31 Aug 2016 10:16:12 -0400 Subject: [PATCH] debug: adds endline to OutputDebugString - adds endline to OutputDebugString that prints output visible in the Visual studio console Change-Id: Ieeef71decce30665defe4b2595a66d582ad8aefa Tuleap: #977 --- RingDebug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RingDebug.cpp b/RingDebug.cpp index 6305d8f..be2860b 100644 --- a/RingDebug.cpp +++ b/RingDebug.cpp @@ -50,7 +50,7 @@ RingDebug::print(const std::string& message, } /* screen it into VS debug console */ - OutputDebugString(wString.c_str()); + OutputDebugString((wString + L"\n").c_str()); /* fire the event. */ messageToScreen(ref new String(wString.c_str(), wString.length())); -- GitLab