missed setting 'current' at the end of the pyramid gradient
authorDana Jansens <danakj@orodu.net>
Sun, 29 Jun 2003 08:33:19 +0000 (08:33 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 29 Jun 2003 08:33:19 +0000 (08:33 +0000)
render/gradient.c

index a819a4b..ab15369 100644 (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;