Skip to content

Commit 9a6be75

Browse files
HBeluscaJoachimHenze
authored andcommitted
[0.4.9] cherry-pick [CMD] Print a newline after the interactive 'pause' command message finishes to run.
(cherry picked from commit 39af250)
1 parent 7b3affa commit 9a6be75

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

base/shell/cmd/pause.c

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,24 @@
3434
* Remove all hardcoded strings in En.rc
3535
*/
3636

37-
INT cmd_pause (LPTSTR param)
37+
INT cmd_pause(LPTSTR param)
3838
{
39-
TRACE ("cmd_pause: \'%s\')\n", debugstr_aw(param));
39+
TRACE("cmd_pause: \'%s\')\n", debugstr_aw(param));
4040

41-
if (!_tcsncmp (param, _T("/?"), 2))
41+
if (!_tcsncmp(param, _T("/?"), 2))
4242
{
4343
ConOutResPaging(TRUE,STRING_PAUSE_HELP1);
4444
return 0;
4545
}
4646

4747
if (*param)
48-
ConOutPrintf (param);
48+
ConOutPuts(param);
4949
else
50-
msg_pause ();
50+
msg_pause();
5151

52-
cgetchar ();
52+
cgetchar();
5353

54+
ConOutChar(_T('\n'));
5455
return 0;
5556
}
5657

0 commit comments

Comments
 (0)