Kill ghosts on closeup. - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit e16869c9e90c95bb82b9c71cdd8e3816cc227998
(DIR) parent b993be51443c47aa82150de02e40a96efa488acb
(HTM) Author: Rob King <jking@deadpixi.com>
Date: Mon, 15 Aug 2016 01:00:49 -0500
Kill ghosts on closeup.
Diffstat:
samterm/flayer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/samterm/flayer.c b/samterm/flayer.c
@@ -75,12 +75,12 @@ void
flclose(Flayer *l)
{
if(l->visible == All)
- bitblt2(&screen, l->entire.min, &screen, l->entire, 0, 0, l->bg);
+ bitblt2(&screen, l->entire.min, &screen, l->entire, 0, _bgpixel, _bgpixel);
else if(l->visible == Some){
if(l->f.b == 0)
l->f.b = balloc(l->entire, screen.ldepth);
if(l->f.b){
- bitblt2(l->f.b, l->entire.min, l->f.b, l->entire, 0, 0, l->bg);
+ bitblt2(l->f.b, l->entire.min, l->f.b, l->entire, 0, _bgpixel, _bgpixel);
flrefresh(l, l->entire, 0);
}
}