From 102e0de51f29b5f3de4a96a827e6c2ee91e1c8af Mon Sep 17 00:00:00 2001 From: cristy Date: Tue, 7 May 2013 13:10:40 +0000 Subject: [PATCH] --- coders/tiff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.50.1