summaryrefslogtreecommitdiffstats
path: root/lib/libncurses/lib_box.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-07-30 17:21:39 +0000
committerache <ache@FreeBSD.org>1997-07-30 17:21:39 +0000
commitd6cf2089bc5887f137a83ede9767e5154e3b8186 (patch)
tree2eda095cc49ccd84c07771c2714cb72c8d3a931c /lib/libncurses/lib_box.c
parent2d46d6b6b7899598c975cea266468603c9a442ba (diff)
downloadFreeBSD-src-d6cf2089bc5887f137a83ede9767e5154e3b8186.zip
FreeBSD-src-d6cf2089bc5887f137a83ede9767e5154e3b8186.tar.gz
Fix logical background handling by merging it from ncurses 4.1
No new user-visible functions added
Diffstat (limited to 'lib/libncurses/lib_box.c')
-rw-r--r--lib/libncurses/lib_box.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libncurses/lib_box.c b/lib/libncurses/lib_box.c
index a0ffd12..a467808 100644
--- a/lib/libncurses/lib_box.c
+++ b/lib/libncurses/lib_box.c
@@ -32,14 +32,14 @@ int endx, endy;
if (bl == 0) bl = ACS_LLCORNER;
if (br == 0) br = ACS_LRCORNER;
- ls |= win->_attrs;
- rs |= win->_attrs;
- ts |= win->_attrs;
- bs |= win->_attrs;
- tl |= win->_attrs;
- tr |= win->_attrs;
- bl |= win->_attrs;
- br |= win->_attrs;
+ ls = _nc_render(win, ls);
+ rs = _nc_render(win, rs);
+ ts = _nc_render(win, ts);
+ bs = _nc_render(win, bs);
+ tl = _nc_render(win, tl);
+ tr = _nc_render(win, tr);
+ bl = _nc_render(win, bl);
+ br = _nc_render(win, br);
T(("using %x, %x, %x, %x, %x, %x, %x, %x", ls, rs, ts, bs, tl, tr, bl, br));
OpenPOWER on IntegriCloud