https://git.reactos.org/?p=reactos.git;a=commitdiff;h=39af25024a03761858d547f49e87259ab34d77f8
commit 39af25024a03761858d547f49e87259ab34d77f8 Author: Hermès Bélusca-Maïto <[email protected]> AuthorDate: Sun Jun 3 02:13:11 2018 +0200 Commit: Hermès Bélusca-Maïto <[email protected]> CommitDate: Sun Jun 3 02:36:32 2018 +0200 [CMD] Print a newline after the interactive 'pause' command message finishes to run. --- base/shell/cmd/pause.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/base/shell/cmd/pause.c b/base/shell/cmd/pause.c index 32e92d7ff0..47050df91d 100644 --- a/base/shell/cmd/pause.c +++ b/base/shell/cmd/pause.c @@ -34,23 +34,24 @@ * Remove all hardcoded strings in En.rc */ -INT cmd_pause (LPTSTR param) +INT cmd_pause(LPTSTR param) { - TRACE ("cmd_pause: \'%s\')\n", debugstr_aw(param)); + TRACE("cmd_pause: \'%s\')\n", debugstr_aw(param)); - if (!_tcsncmp (param, _T("/?"), 2)) + if (!_tcsncmp(param, _T("/?"), 2)) { ConOutResPaging(TRUE,STRING_PAUSE_HELP1); return 0; } if (*param) - ConOutPrintf (param); + ConOutPuts(param); else - msg_pause (); + msg_pause(); - cgetchar (); + cgetchar(); + ConOutChar(_T('\n')); return 0; }
