[gimp/metadata-browser] app: fix small logical error in smudge



commit 44ab6b3f4da658c238872bfe8e8c5dea3e574c5c
Author: Alexia Death <alexiadeath gmail com>
Date:   Fri Jan 20 22:46:29 2012 +0200

    app: fix small logical error in smudge

 app/paint/gimpsmudge.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/paint/gimpsmudge.c b/app/paint/gimpsmudge.c
index e6e1d21..af9a46e 100644
--- a/app/paint/gimpsmudge.c
+++ b/app/paint/gimpsmudge.c
@@ -231,10 +231,10 @@ gimp_smudge_start (GimpPaintCore    *paint_core,
 
   pixel_region_init_data (&smudge->accumPR, smudge->accum_data,
                           bytes, bytes * smudge->accum_size,
-                          area->x - x,
-                          area->y - y,
-                          area->width,
-                          area->height);
+                          0,
+                          0,
+                          smudge->accum_size,
+                          smudge->accum_size);
 
   return TRUE;
 }



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