From: Dana Jansens Date: Sun, 29 Jun 2003 08:33:19 +0000 (+0000) Subject: missed setting 'current' at the end of the pyramid gradient X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=9d896233ecc6f8cc0ea5c4f483d55cb0c692dc2b;p=chaz%2Fopenbox missed setting 'current' at the end of the pyramid gradient --- diff --git a/render/gradient.c b/render/gradient.c index a819a4be..ab15369b 100644 --- a/render/gradient.c +++ b/render/gradient.c @@ -533,6 +533,7 @@ static void gradient_pyramid(RrSurface *sf, int inw, int inh) NEXT(x); } + current = COLOR(x); *(data+x) = current; *(data+inw-x) = current; *(end-x) = current;