From a5407eb75fb490098d518faffd97813e38b0b642 Mon Sep 17 00:00:00 2001 From: Andrey Kiselev Date: Thu, 4 Dec 2003 10:26:15 +0000 Subject: [PATCH] Handle TIFF_IFD tag type correctly. --- libtiff/tif_dirwrite.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libtiff/tif_dirwrite.c b/libtiff/tif_dirwrite.c index a4e26501..97b630d0 100644 --- a/libtiff/tif_dirwrite.c +++ b/libtiff/tif_dirwrite.c @@ -1,4 +1,4 @@ -/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tif_dirwrite.c,v 1.17 2003-08-12 07:50:37 dron Exp $ */ +/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tif_dirwrite.c,v 1.18 2003-12-04 10:26:15 dron Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -474,6 +474,7 @@ TIFFWriteNormalTag(TIFF* tif, TIFFDirEntry* dir, const TIFFFieldInfo* fip) break; case TIFF_LONG: case TIFF_SLONG: + case TIFF_IFD: if (wc > 1) { uint32* lp; if (wc == (u_short) TIFF_VARIABLE