From: Mark Jansen Date: Wed, 17 Aug 2016 21:02:49 +0000 (+0000) Subject: [DBGPRINT] --wintest mode: Improve readability of output. X-Git-Tag: backups/sndblst@72664~370 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=f2efdd09521dc38b1ce0001e9b173182ed2d96b1 [DBGPRINT] --wintest mode: Improve readability of output. svn path=/trunk/; revision=72248 --- diff --git a/reactos/base/applications/cmdutils/dbgprint/dbgprint.c b/reactos/base/applications/cmdutils/dbgprint/dbgprint.c index 5bedd652433..6fd17317f91 100644 --- a/reactos/base/applications/cmdutils/dbgprint/dbgprint.c +++ b/reactos/base/applications/cmdutils/dbgprint/dbgprint.c @@ -44,7 +44,7 @@ int _tmain(int argc, TCHAR ** argv) /* get available tests */ strcpy(cmd, argv[2]); - strcat(cmd, " --list"); + strcat(cmd, " --list"); pPipe = _tpopen(cmd, "r"); if (pPipe != NULL) { @@ -68,6 +68,8 @@ int _tmain(int argc, TCHAR ** argv) if (nlptr2) *nlptr2 = '\0'; puts(psBuffer2); + if (nlptr2) + *nlptr2 = '\n'; OutputDebugStringA(psBuffer2); } _pclose(pPipe2);