Fix bug reported by Marc Lehmann.

This commit is contained in:
Nick Lamb /GIMP 2000-01-22 01:48:17 +00:00
parent cbaf336abe
commit 32ab81a8a0
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Sat Jan 22 01:47:30 GMT 2000 Nick Lamb <njl195@zepler.org.uk>
* plug-ins/common/tiff.c: Fix bug reported by Marc Lehmann
Sat Jan 22 01:02:25 CET 2000 Stanislav Brabec <utx@penguin.cz>
* plug-ins/gfig/gfig.c: Menu i18n fix.

View file

@ -610,7 +610,7 @@ load_image (char *filename)
load_lines (tif, channel, bps, photomet, alpha, extra);
}
for (i= 0; i < extra; ++i) {
for (i= 0; !worst_case && i < extra; ++i) {
gimp_drawable_flush (channel[i].drawable);
gimp_drawable_detach (channel[i].drawable);
}
@ -638,7 +638,6 @@ load_rgba (TIFF *tif, channel_data *channel)
gimp_pixel_rgn_set_rect(&(channel[0].pixel_rgn), channel[0].pixels,
0, 0, imageWidth, imageLength);
g_message("TIFF Fell back to RGBA, image may be inverted\n");
}
static void