From: Todd C. Miller Date: Mon, 14 Feb 2011 16:04:44 +0000 (-0500) Subject: Remove extra newline when the tty width is very small or unavailable X-Git-Tag: SUDO_1_7_5~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=085130e36c51c54d9335efde2ee17d4c5ee3ef88;p=sudo Remove extra newline when the tty width is very small or unavailable --HG-- branch : 1.7 --- diff --git a/lbuf.c b/lbuf.c index b0fc2e4fd..a5e67bf91 100644 --- a/lbuf.c +++ b/lbuf.c @@ -287,7 +287,6 @@ lbuf_print(lbuf) /* For very small widths just give up... */ if (lbuf->cols <= lbuf->indent + contlen + 20) { lbuf->output(lbuf->buf); - lbuf->output("\n"); goto done; }