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



commit e06e97f80ab75db6f0a2925444418a16c06179fe
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]