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;