From 9d896233ecc6f8cc0ea5c4f483d55cb0c692dc2b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 29 Jun 2003 08:33:19 +0000 Subject: [PATCH] missed setting 'current' at the end of the pyramid gradient --- render/gradient.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.45.2