From: Mikael Magnusson Date: Wed, 14 Jun 2006 19:23:27 +0000 (+0000) Subject: forgot i was in the middle of something X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=18cd2fa938721612e521e876494d66ef8438769f;p=chaz%2Fopenbox forgot i was in the middle of something --- diff --git a/render/gradient.c b/render/gradient.c index 5a5986e6..c4a2b4ea 100644 --- a/render/gradient.c +++ b/render/gradient.c @@ -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;