From 5f0f48d94cc3d123eef2fcd51c6f5024d08bb065 Mon Sep 17 00:00:00 2001 From: cristy Date: Sat, 27 Mar 2010 14:51:16 +0000 Subject: [PATCH] --- coders/tiff.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/coders/tiff.c b/coders/tiff.c index 71441494f..d6b6ce39c 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -2354,9 +2354,7 @@ static MagickBooleanType WriteTIFFImage(const ImageInfo *image_info, const char *mode, - *option; - - const char + *option, *value; CompressionType @@ -2745,7 +2743,7 @@ static MagickBooleanType WriteTIFFImage(const ImageInfo *image_info, rows_per_strip=1; if (TIFFScanlineSize(tiff) != 0) rows_per_strip=(unsigned long) MagickMax((size_t) - TIFFDefaultStripSize(tiff,-1),1); + TIFFDefaultStripSize(tiff,0),1); option=GetImageOption(image_info,"tiff:rows-per-strip"); if (option != (const char *) NULL) rows_per_strip=(unsigned long) strtol(option,(char **) NULL,10); -- 2.50.1