[mutter] gradient: Fix warning/typo



commit fa8174a200ce62e3f1f52ce8223e79630bd207f8
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Jul 7 10:59:23 2014 +0200

    gradient: Fix warning/typo
    
    In addition to c068c2122df3015c23dace66b58d8b841234716e

 src/ui/gradient.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ui/gradient.c b/src/ui/gradient.c
index eb73808..b0d269f 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<height; i++)
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]