From: Tomas Carnecky <t...@dbservice.com>

Signed-off-by: Tomas Carnecky <t...@dbservice.com>
---
 render/render.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/render/render.c b/render/render.c
index a32d797..45856a7 100644
--- a/render/render.c
+++ b/render/render.c
@@ -2555,10 +2555,11 @@ static void swapStops(void *stuff, int num)
         swapl(stops, n);
         ++stops;
     }
+
     colors = (CARD16 *)(stops);
     for (i = 0; i < 4*num; ++i) {
-        swaps(stops, n);
-        ++stops;
+        swaps(colors, n);
+        ++colors;
     }
 }
 
-- 
1.6.5.4


_______________________________________________
xorg-devel mailing list
xorg-devel@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to