missed setting 'current' at the end of the pyramid gradient

This commit is contained in:
Dana Jansens 2003-06-29 08:33:19 +00:00
parent 2fa7129ca3
commit 9d896233ec

View file

@ -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;