diff options
Diffstat (limited to 'tiff/tools/tiffset.c')
-rw-r--r-- | tiff/tools/tiffset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tiff/tools/tiffset.c b/tiff/tools/tiffset.c index 7044d2ba7..894c9f1f1 100644 --- a/tiff/tools/tiffset.c +++ b/tiff/tools/tiffset.c @@ -1,5 +1,5 @@ /****************************************************************************** - * $Id: tiffset.c,v 1.18 2012-12-04 03:02:37 bfriesen Exp $ + * $Id: tiffset.c,v 1.19 2017-10-01 17:38:12 erouault Exp $ * * Project: libtiff tools * Purpose: Mainline for setting metadata in existing TIFF files. @@ -155,7 +155,7 @@ main(int argc, char* argv[]) return 4; } - if (wc > 1) { + if (wc > 1 || TIFFFieldWriteCount(fip) == TIFF_VARIABLE) { int i, size; void *array; |