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



commit 8202dcb44e331e217e0c2f4bd0d4e63a279a8cc7
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]