diff --git a/src/console.c b/src/console.c index e58da7f..b0772bd 100644 --- a/src/console.c +++ b/src/console.c @@ -41,12 +41,7 @@ void kernaux_console_printf(const char *format, ...) while ((c = *format++) != 0) { - if (c == '\n') { - if (*format != 0) { - kernaux_console_putc('\n'); - } - } - else if (c != '%') { + if (c != '%') { kernaux_console_putc(c); } else {