Author: cfinck
Date: Mon Jan 5 07:22:27 2009
New Revision: 38583
URL:
http://svn.reactos.org/svn/reactos?rev=38583&view=rev
Log:
Revert a part of r38087. OutputDebugStringA doesn't add a newline automatically.
Verified by MSVC's debug output and kinda proofed by
http://www.unixwiz.net/techtips/outputdebugstring.html (nobody would write a function for
adding newlines to the debug output if that would be done automatically)
Thanks to Gregor for the hints.
Modified:
trunk/reactos/dll/win32/kernel32/debug/output.c
Modified: trunk/reactos/dll/win32/kernel32/debug/output.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/debug/o…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/debug/output.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/debug/output.c [iso-8859-1] Mon Jan 5 07:22:27 2009
@@ -376,18 +376,6 @@
/* copy the current block */
memcpy(a_cBuffer, _OutputString, nRoundLen);
- /* Have we reached the end of the string? */
- if (nRoundLen == nOutputStringLen)
- {
- /* Make sure we terminate with a line break */
- if (a_cBuffer[nRoundLen - 1] != '\n')
- {
- a_cBuffer[nRoundLen] = '\n';
- nRoundLen++;
- nOutputStringLen++;
- }
- }
-
/* null-terminate the current block */
a_cBuffer[nRoundLen] = 0;