Add missing newline in OutputDebugStringA invocation.
Before this commit, every debug message was correctly printed to stdout, but they were all concatenated onto a single line in the Visual Studio "Output" pane.pull/109/head
parent
9673225648
commit
1ec36fc657
|
@ -25,6 +25,7 @@ void dbp(const char *str, ...)
|
||||||
// The native version of OutputDebugString, unlike most others,
|
// The native version of OutputDebugString, unlike most others,
|
||||||
// is OutputDebugStringA.
|
// is OutputDebugStringA.
|
||||||
OutputDebugStringA(buf);
|
OutputDebugStringA(buf);
|
||||||
|
OutputDebugStringA("\n");
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
// Duplicate to stderr in debug builds, but not in release; this is slow.
|
// Duplicate to stderr in debug builds, but not in release; this is slow.
|
||||||
|
|
Loading…
Reference in New Issue