]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 7 May 2013 13:10:40 +0000 (13:10 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 7 May 2013 13:10:40 +0000 (13:10 +0000)
coders/tiff.c

index 6a49a240412e4e1da62ab9b9b5ef685650659b7c..1445371c11af4434daadcbfad1b28488580ae430 100644 (file)
@@ -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))
       {