[gimp] Revert "app (histogram): Delete redundant assignments"



commit e0a60f0e23ba71a812ba9478c4767df8765ee87a
Author: Mukund Sivaraman <muks banu com>
Date:   Wed Oct 12 18:28:55 2011 +0530

    Revert "app (histogram): Delete redundant assignments"
    
    This reverts commit 3793c1f1ecfc00693b6165029fb92b619bd4e88e.

 app/base/gimphistogram.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/app/base/gimphistogram.c b/app/base/gimphistogram.c
index 8dc5472..ac6f24a 100644
--- a/app/base/gimphistogram.c
+++ b/app/base/gimphistogram.c
@@ -623,6 +623,7 @@ gimp_histogram_calculate_sub_region (GimpHistogram *histogram,
             {
               s = src;
               m = msrc;
+              w = region->w;
 
               while (w--)
                 {
@@ -644,6 +645,7 @@ gimp_histogram_calculate_sub_region (GimpHistogram *histogram,
             {
               s = src;
               m = msrc;
+              w = region->w;
 
               while (w--)
                 {
@@ -667,6 +669,7 @@ gimp_histogram_calculate_sub_region (GimpHistogram *histogram,
             {
               s = src;
               m = msrc;
+              w = region->w;
 
               while (w--)
                 {
@@ -697,6 +700,7 @@ gimp_histogram_calculate_sub_region (GimpHistogram *histogram,
             {
               s = src;
               m = msrc;
+              w = region->w;
 
               while (w--)
                 {
@@ -735,6 +739,7 @@ gimp_histogram_calculate_sub_region (GimpHistogram *histogram,
           while (h--)
             {
               s = src;
+              w = region->w;
 
               while (w--)
                 {
@@ -751,6 +756,7 @@ gimp_histogram_calculate_sub_region (GimpHistogram *histogram,
           while (h--)
             {
               s = src;
+              w = region->w;
 
               while (w--)
                 {
@@ -770,6 +776,7 @@ gimp_histogram_calculate_sub_region (GimpHistogram *histogram,
           while (h--)
             {
               s = src;
+              w = region->w;
 
               while (w--)
                 {
@@ -795,6 +802,7 @@ gimp_histogram_calculate_sub_region (GimpHistogram *histogram,
           while (h--)
             {
               s = src;
+              w = region->w;
 
               while (w--)
                 {



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