summaryrefslogtreecommitdiffstats
path: root/lib/libncurses
diff options
context:
space:
mode:
authormckay <mckay@FreeBSD.org>1996-12-22 14:24:49 +0000
committermckay <mckay@FreeBSD.org>1996-12-22 14:24:49 +0000
commitb9798f596149b878998c5b8079383b830212b8e2 (patch)
treee3b61c291337dfcb85d3aaccd293267b3fa800ab /lib/libncurses
parentfc4b2baad8bd1fcced80ebaa7d4050e4a5cbfe2b (diff)
downloadFreeBSD-src-b9798f596149b878998c5b8079383b830212b8e2.zip
FreeBSD-src-b9798f596149b878998c5b8079383b830212b8e2.tar.gz
The fix for PR#bin/722 made it into 2.1.5 and 2.1.6, but not into -current.
Without it, the last row and last column don't get their background updated. I think this should be in 2.2. Submitted by: Paul Koch <koch@thehub.com.au> (again) Passing observation: The fixes that pst put in on 1996/09/22 then backed out look like they should be put in again. If sysinstall is depending on bugs, then it should be fixed.
Diffstat (limited to 'lib/libncurses')
-rw-r--r--lib/libncurses/lib_bkgd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libncurses/lib_bkgd.c b/lib/libncurses/lib_bkgd.c
index a74c56e..4b8043a 100644
--- a/lib/libncurses/lib_bkgd.c
+++ b/lib/libncurses/lib_bkgd.c
@@ -25,8 +25,8 @@ int wbkgd(WINDOW *win, chtype ch)
int x, y;
T(("wbkgd(%x, %x) called", win, ch));
- for (y = 0; y < win->_maxy; y++)
- for (x = 0; x < win->_maxx; x++)
+ for (y = 0; y <= win->_maxy; y++)
+ for (x = 0; x <= win->_maxx; x++)
if (win->_line[y][x]&A_CHARTEXT == ' ')
win->_line[y][x] |= ch;
else
OpenPOWER on IntegriCloud