From 39af25024a03761858d547f49e87259ab34d77f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sun, 3 Jun 2018 02:13:11 +0200 Subject: [PATCH] [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 32e92d7ff03..47050df91d5 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; }