From f05428e4cd63dde97bac14b84dd146a5c00455e3 Mon Sep 17 00:00:00 2001 From: rgrimes Date: Tue, 30 May 1995 05:51:47 +0000 Subject: Remove trailing whitespace. --- lib/libcurses/addbytes.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libcurses/addbytes.c') diff --git a/lib/libcurses/addbytes.c b/lib/libcurses/addbytes.c index 6dd8bf9..39124a0 100644 --- a/lib/libcurses/addbytes.c +++ b/lib/libcurses/addbytes.c @@ -75,7 +75,7 @@ __waddbytes(win, bytes, count, so) #ifdef DEBUG __CTRACE("ADDBYTES(%0.2o, %d, %d)\n", win, y, x); #endif - + lp = win->lines[y]; if (lp->flags & __ISPASTEOL) { lp->flags &= ~__ISPASTEOL; @@ -96,7 +96,7 @@ newline: if (y == win->maxy - 1) { if (c == '\n') break; } - + stand = '\0'; if (win->flags & __WSTANDOUT || so) stand |= __STANDOUT; @@ -104,7 +104,7 @@ newline: if (y == win->maxy - 1) { __CTRACE("ADDBYTES: 1: y = %d, x = %d, firstch = %d, lastch = %d\n", y, x, *win->lines[y]->firstchp, *win->lines[y]->lastchp); #endif - if (lp->line[x].ch != c || + if (lp->line[x].ch != c || !(lp->line[x].attr & stand)) { newx = x + win->ch_off; if (!(lp->flags & __ISDIRTY)) { -- cgit v1.1