From fa8174a200ce62e3f1f52ce8223e79630bd207f8 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Mon, 7 Jul 2014 10:59:23 +0200 Subject: [PATCH] gradient: Fix warning/typo In addition to c068c2122df3015c23dace66b58d8b841234716e --- src/ui/gradient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/gradient.c b/src/ui/gradient.c index eb738084b..b0d269fe3 100644 --- a/src/ui/gradient.c +++ b/src/ui/gradient.c @@ -225,7 +225,7 @@ meta_gradient_create_interwoven (int width, dr2 = ((colors2[1].red-colors2[0].red)*0xffffff)/(int)height; dg2 = ((colors2[1].green-colors2[0].green)*0xffffff)/(int)height; db2 = ((colors2[1].blue-colors2[0].blue)*0xffffff)/(int)height; - db2 = ((colors2[1].alpha-colors2[0].alpha)*0xffffff)/(int)height; + da2 = ((colors2[1].alpha-colors2[0].alpha)*0xffffff)/(int)height; for (i=0,k=0,l=0,ll=thickness1; i