]> Dogcows Code - chaz/openbox/commitdiff
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 a819a4bee9e988b859155ad73f94951b94a06422..ab15369b90be8642fe430acdc4ff030dbea39599 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;
This page took 0.021857 seconds and 4 git commands to generate.