aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2013-08-15 21:01:43 +0200
committerJoakim Verona2013-08-15 21:01:43 +0200
commit575dd3ba75231b7df64b3f2b88ef88909417cf38 (patch)
treeb9200b3237c72332e07a1441c0d6a491e6a19ba3 /src
parent28bfe2167958a42d2974f3466db5193c385ce3cd (diff)
parent1d18b1e6ab1aabab94554fc10e24811478346fab (diff)
downloademacs-575dd3ba75231b7df64b3f2b88ef88909417cf38.tar.gz
emacs-575dd3ba75231b7df64b3f2b88ef88909417cf38.zip
merge from trunk
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/image.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9087f8b12b8..431802eab45 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -2,6 +2,8 @@
2 2
3 * image.c (imagemagick_compute_animated_image): Animate correctly 3 * image.c (imagemagick_compute_animated_image): Animate correctly
4 when sub-images are smaller than the main image. 4 when sub-images are smaller than the main image.
5 (imagemagick_compute_animated_image): Setting the iterator row to
6 zero is apparently not allowed.
5 7
62013-08-15 Jan Djärv <jan.h.d@swipnet.se> 82013-08-15 Jan Djärv <jan.h.d@swipnet.se>
7 9
diff --git a/src/image.c b/src/image.c
index 348f6a8209b..6f92c583554 100644
--- a/src/image.c
+++ b/src/image.c
@@ -7945,7 +7945,8 @@ imagemagick_compute_animated_image (MagickWand *super_wand, int ino)
7945 7945
7946 /* The sub-image may not start at origo, so move the destination 7946 /* The sub-image may not start at origo, so move the destination
7947 iterator to where the sub-image should start. */ 7947 iterator to where the sub-image should start. */
7948 PixelSetIteratorRow (dest_iterator, source_top); 7948 if (source_top > 0)
7949 PixelSetIteratorRow (dest_iterator, source_top);
7949 7950
7950 while ((source = PixelGetNextIteratorRow (source_iterator, &source_width)) 7951 while ((source = PixelGetNextIteratorRow (source_iterator, &source_width))
7951 != NULL) 7952 != NULL)