]> Dogcows Code - chaz/openbox/commitdiff
forgot i was in the middle of something
authorMikael Magnusson <mikachu@comhem.se>
Wed, 14 Jun 2006 19:23:27 +0000 (19:23 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Wed, 14 Jun 2006 19:23:27 +0000 (19:23 +0000)
render/gradient.c

index 5a5986e624e45eaf7cb3570f74b437dd3b459fb8..c4a2b4ea40c7102fb75494e87ba511057ef61172 100644 (file)
@@ -189,7 +189,7 @@ static void gradient_solid(RrSurface *sf, gint w, gint h)
 {
     RrPixel32 pix;
     gint i, a, b;
-    RrAppearance *l = &sf->parent;
+    RrAppearance *l = sf->parent;
     gint left = 0, top = 0, right = w - 1, bottom = h - 1;
 
     pix = (sf->primary->r << RrDefaultRedOffset)
@@ -366,7 +366,7 @@ static void gradient_solid(RrSurface *sf, gint w, gint h)
 static void gradient_split(RrSurface *sf, gint w, gint h)
 {
     gint x, y1, y3, r, g, b;
-    RrAppearance *a = &a->parent;
+    RrAppearance *a = sf->parent;
     RrPixel32 *data = sf->pixel_data;
     RrPixel32 current;
     RrColor *primary_light, *secondary_light;
This page took 0.023532 seconds and 4 git commands to generate.