[gimp/goat-invasion: 450/608] app: don't set mask->x and ->y to bogus and completely unused values



commit 661d510bf41464bf81e8d1827e6d8f868109cd32
Author: Michael Natterer <mitch gimp org>
Date:   Sat Apr 7 23:49:54 2012 +0200

    app: don't set mask->x and ->y to bogus and completely unused values

 app/core/gimpbrushgenerated.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimpbrushgenerated.c b/app/core/gimpbrushgenerated.c
index add12a7..8bc97e2 100644
--- a/app/core/gimpbrushgenerated.c
+++ b/app/core/gimpbrushgenerated.c
@@ -484,8 +484,6 @@ gimp_brush_generated_calc (GimpBrushGenerated      *brush,
 
   mask = temp_buf_new (half_width  * 2 + 1,
                        half_height * 2 + 1, 1);
-  mask->x = half_width;
-  mask->y = half_height;
 
   centerp = temp_buf_get_data (mask) + half_height * mask->width + half_width;
 



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