summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2002-02-28 18:47:38 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2002-02-28 18:47:38 +0000
commit3a4906e82d3eadf4a3ac53cfdf57643f6d17e09b (patch)
treec4515496016b85a915c3ec1423695cb9b1285188
parent93aef1e229f5c2b8b3712e963b6edd72cc757a52 (diff)
downloadgtk+-3a4906e82d3eadf4a3ac53cfdf57643f6d17e09b.tar.gz
Move the call to correct_total() to the right spot. (#72732)
* pixops/pixops.c (tile_make_weights): Move the call to correct_total() to the right spot. (#72732)
-rw-r--r--gdk-pixbuf/ChangeLog5
-rw-r--r--gdk-pixbuf/pixops/pixops.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog
index c4783fdd87..cd5f8821b5 100644
--- a/gdk-pixbuf/ChangeLog
+++ b/gdk-pixbuf/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-28 Matthias Clasen <maclas@gmx.de>
+
+ * pixops/pixops.c (tile_make_weights): Move the call to
+ correct_total() to the right spot. (#72732)
+
Wed Feb 27 18:33:04 2002 Owen Taylor <otaylor@redhat.com>
* gdk-pixdata.c (gdk_pixdata_to_csource): Use {} not
diff --git a/gdk-pixbuf/pixops/pixops.c b/gdk-pixbuf/pixops/pixops.c
index a84de85257..593895edd3 100644
--- a/gdk-pixbuf/pixops/pixops.c
+++ b/gdk-pixbuf/pixops/pixops.c
@@ -1162,9 +1162,9 @@ tile_make_weights (PixopsFilter *filter, double x_scale, double y_scale, double
total += weight;
*(pixel_weights + n_x * i + j) = weight;
}
-
- correct_total (pixel_weights, n_x, n_y, total, overall_alpha);
}
+
+ correct_total (pixel_weights, n_x, n_y, total, overall_alpha);
}
}