diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2002-02-28 18:47:38 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2002-02-28 18:47:38 +0000 |
commit | 3a4906e82d3eadf4a3ac53cfdf57643f6d17e09b (patch) | |
tree | c4515496016b85a915c3ec1423695cb9b1285188 | |
parent | 93aef1e229f5c2b8b3712e963b6edd72cc757a52 (diff) | |
download | gtk+-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/ChangeLog | 5 | ||||
-rw-r--r-- | gdk-pixbuf/pixops/pixops.c | 4 |
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); } } |