From 18cd2fa938721612e521e876494d66ef8438769f Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 14 Jun 2006 19:23:27 +0000 Subject: [PATCH] forgot i was in the middle of something --- render/gradient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.45.2