diff options
Diffstat (limited to 'src/image.c')
| -rw-r--r-- | src/image.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) |