From: cristy Date: Tue, 7 May 2013 13:10:40 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3705 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=102e0de51f29b5f3de4a96a827e6c2ee91e1c8af;p=imagemagick --- diff --git a/coders/tiff.c b/coders/tiff.c index 6a49a2404..1445371c1 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -3173,7 +3173,7 @@ static MagickBooleanType WriteTIFFImage(const ImageInfo *image_info, break; } option=GetImageOption(image_info,"tiff:rows-per-strip"); - if (option == (const char *) NULL) + if (option != (const char *) NULL) (void) TIFFSetField(tiff,TIFFTAG_ROWSPERSTRIP,rows_per_strip); if ((image->resolution.x != 0.0) && (image->resolution.y != 0.0)) {