Subject: Curses bug
To: 532bsd Mailing List <port-pc532@sun-lamp.cs.berkeley.edu>
From: Matthias Pfaller <leo@marco.de>
List: port-pc532
Date: 08/16/1994 10:47:23
Hi,
I finally found the bug in curses that prevented my from displaying blanks
in standout mode as the last character in a line. Could someone forward this
to the correct mailing list?
Thank's - Matthias
*** refresh.c.orig Fri Dec 17 07:29:51 1993
--- refresh.c Mon Aug 15 12:51:54 1994
***************
*** 296,302 ****
&& wx <= lch) {
if (ce != NULL && win->maxx + win->begx ==
! curscr->maxx && wx >= nlsp && nsp->ch == ' ') {
/* Check for clear to end-of-line. */
cep = &curscr->lines[wy]->line[win->maxx - 1];
while (cep->ch == ' ' && cep->attr == 0)
--- 296,302 ----
&& wx <= lch) {
if (ce != NULL && win->maxx + win->begx ==
! curscr->maxx && wx > nlsp && nsp->ch == ' ') {
/* Check for clear to end-of-line. */
cep = &curscr->lines[wy]->line[win->maxx - 1];
while (cep->ch == ' ' && cep->attr == 0)
------------------------------------------------------------------------------