From: hpa Date: Fri, 17 Dec 2004 17:47:16 +0000 (+0000) Subject: Output \n as \r\n X-Git-Tag: syslinux-3.11~291 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a684d6315e6ecd1bd0a60a5c9008fe584c2d47a;p=platform%2Fupstream%2Fsyslinux.git Output \n as \r\n --- diff --git a/dos/conio.c b/dos/conio.c index 3d562af..e4cf3ed 100644 --- a/dos/conio.c +++ b/dos/conio.c @@ -22,6 +22,8 @@ int putchar(int ch) { + if ( ch == '\n' ) + putchar('\r'); asm("movb $0x02,%%ah ; int $0x21" : : "d" (ch)); return ch; }