Commit 1ad786f3 authored by Mukund Sivaraman's avatar Mukund Sivaraman Committed by Mukund Sivaraman

Moved an invariant (in the last changeset to this file) out of the loop.

2007-02-18  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/png.c: Moved an invariant (in the last
          changeset to this file) out of the loop.


svn path=/trunk/; revision=21935
parent 4107f0fa
2007-02-18 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/png.c: Moved an invariant (in the last
changeset to this file) out of the loop.
2007-02-17 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme-private.h: Add define for
......@@ -968,6 +968,7 @@ load_image (const gchar *filename,
error_data.width = info->width;
error_data.height = info->height;
error_data.bpp = bpp;
error_data.pixel_rgn = &pixel_rgn;
png_set_error_fn (pp, &error_data, on_read_error, NULL);
......@@ -992,7 +993,6 @@ load_image (const gchar *filename,
error_data.begin = begin;
error_data.end = end;
error_data.num = num;
error_data.pixel_rgn = &pixel_rgn;
png_read_rows (pp, pixels, NULL, num);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment