summaryrefslogtreecommitdiffstats
path: root/common/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/console.c')
-rw-r--r--common/console.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/console.c b/common/console.c
index c40eba6..cd37d88 100644
--- a/common/console.c
+++ b/common/console.c
@@ -552,10 +552,9 @@ int console_puts(unsigned int ch, const char *str)
}
while (*s) {
- if (*s == '\n') {
- console_putc(ch, '\r');
+ if (*s == '\n')
n++;
- }
+
console_putc(ch, *s);
n++;
s++;