[gimp] plug-ins: fix file-tiff-load's load_rgb() which I broke two commits earlier
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: fix file-tiff-load's load_rgb() which I broke two commits earlier
- Date: Sun, 13 Sep 2015 18:21:14 +0000 (UTC)
commit d7b2d1c3722dbd58d3d5861240180a52481ff7e6
Author: Michael Natterer <mitch gimp org>
Date: Sun Sep 13 20:20:35 2015 +0200
plug-ins: fix file-tiff-load's load_rgb() which I broke two commits earlier
plug-ins/common/file-tiff-load.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/file-tiff-load.c b/plug-ins/common/file-tiff-load.c
index fa729f8..32e1a06 100644
--- a/plug-ins/common/file-tiff-load.c
+++ b/plug-ins/common/file-tiff-load.c
@@ -1331,7 +1331,7 @@ load_rgba (TIFF *tif,
#if G_BYTE_ORDER != G_LITTLE_ENDIAN
/* Make sure our channels are in the right order */
guint32 row_start = row * image_width;
- guint32 row_end = row_start + image_wigth;
+ guint32 row_end = row_start + image_width;
guint32 i;
for (i = row_start; i < row_end; i++)
@@ -1340,7 +1340,7 @@ load_rgba (TIFF *tif,
gegl_buffer_set (channel[0].buffer,
GEGL_RECTANGLE (0, image_height - row - 1,
- image_height, 1),
+ image_width, 1),
0, channel[0].format,
((guchar *) buffer) + row * image_width * 4,
GEGL_AUTO_ROWSTRIDE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]