https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ac2b2ef8c7d74a664f4de…
commit ac2b2ef8c7d74a664f4de8dce9ebc7f2deef57bb
Author: Kyle Katarn <contact(a)kcsoftwares.com>
AuthorDate: Fri Sep 18 00:17:08 2020 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Fri Sep 18 00:17:08 2020 +0200
[CMD] HISTORY: Fix command output (missing linefeed) (#3205)
CORE-12603
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
---
base/shell/cmd/history.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/shell/cmd/history.c b/base/shell/cmd/history.c
index 3c709a7ecf0..d0f3f40c5c1 100644
--- a/base/shell/cmd/history.c
+++ b/base/shell/cmd/history.c
@@ -113,7 +113,7 @@ INT CommandHistory(LPTSTR param)
else
{
for (h_tmp = Top->prev; h_tmp != Bottom; h_tmp = h_tmp->prev)
- ConErrPuts(h_tmp->string);
+ ConOutPrintf(_T("%s\n"), h_tmp->string);
}
return 0;
}