From: Vladimir 'phcoder' Serbinenko Date: Sun, 27 Dec 2009 21:35:40 +0000 (+0100) Subject: Output \n\r like it was done previously because ncurses is confused by \r\n X-Git-Tag: 1.98~202^2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dc71441293ffa0682ee2fc1f759c34bb772bb8d2;p=thirdparty%2Fgrub.git Output \n\r like it was done previously because ncurses is confused by \r\n --- diff --git a/kern/term.c b/kern/term.c index 3d8777133..50fbbf302 100644 --- a/kern/term.c +++ b/kern/term.c @@ -45,9 +45,9 @@ grub_putcode (grub_uint32_t code, struct grub_term_output *term) return; } + (term->putchar) (code); if (code == '\n') (term->putchar) ('\r'); - (term->putchar) (code); } /* Put a character. C is one byte of a UTF-8 stream.