(writeCroppedImage): Fix Coverity 1024797 "Nesting level does not
match indentation".
This commit is contained in:
parent
e6aabe4992
commit
4d8fac3be8
@ -8,6 +8,8 @@
|
|||||||
code".
|
code".
|
||||||
(writeSingleSection): Fix Coverity 1024796 "Nesting level does not
|
(writeSingleSection): Fix Coverity 1024796 "Nesting level does not
|
||||||
match indentation".
|
match indentation".
|
||||||
|
(writeCroppedImage): Fix Coverity 1024797 "Nesting level does not
|
||||||
|
match indentation".
|
||||||
|
|
||||||
2015-03-02 Even Rouault <even.rouault@spatialys.com>
|
2015-03-02 Even Rouault <even.rouault@spatialys.com>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $Id: tiffcrop.c,v 1.29 2015-05-28 02:07:59 bfriesen Exp $ */
|
/* $Id: tiffcrop.c,v 1.30 2015-05-28 02:11:01 bfriesen Exp $ */
|
||||||
|
|
||||||
/* tiffcrop.c -- a port of tiffcp.c extended to include manipulations of
|
/* tiffcrop.c -- a port of tiffcp.c extended to include manipulations of
|
||||||
* the image data through additional options listed below
|
* the image data through additional options listed below
|
||||||
@ -7787,8 +7787,9 @@ writeCroppedImage(TIFF *in, TIFF *out, struct image_data *image,
|
|||||||
TIFFSetField(out, TIFFTAG_GROUP3OPTIONS, g3opts);
|
TIFFSetField(out, TIFFTAG_GROUP3OPTIONS, g3opts);
|
||||||
else
|
else
|
||||||
CopyField(TIFFTAG_GROUP3OPTIONS, g3opts);
|
CopyField(TIFFTAG_GROUP3OPTIONS, g3opts);
|
||||||
} else
|
} else {
|
||||||
CopyTag(TIFFTAG_GROUP4OPTIONS, 1, TIFF_LONG);
|
CopyTag(TIFFTAG_GROUP4OPTIONS, 1, TIFF_LONG);
|
||||||
|
}
|
||||||
CopyTag(TIFFTAG_BADFAXLINES, 1, TIFF_LONG);
|
CopyTag(TIFFTAG_BADFAXLINES, 1, TIFF_LONG);
|
||||||
CopyTag(TIFFTAG_CLEANFAXDATA, 1, TIFF_LONG);
|
CopyTag(TIFFTAG_CLEANFAXDATA, 1, TIFF_LONG);
|
||||||
CopyTag(TIFFTAG_CONSECUTIVEBADFAXLINES, 1, TIFF_LONG);
|
CopyTag(TIFFTAG_CONSECUTIVEBADFAXLINES, 1, TIFF_LONG);
|
||||||
|
Loading…
Reference in New Issue
Block a user