From 6311aae796daf088c452ee9e4bcae2f989b12f46 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Fri, 23 Nov 2007 21:14:43 +0000 Subject: [PATCH] fix typo in last fix --- libtiff/tif_dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtiff/tif_dir.c b/libtiff/tif_dir.c index 91adeedb..b0eace7e 100644 --- a/libtiff/tif_dir.c +++ b/libtiff/tif_dir.c @@ -1,4 +1,4 @@ -/* $Id: tif_dir.c,v 1.96 2007-11-23 20:49:43 fwarmerdam Exp $ */ +/* $Id: tif_dir.c,v 1.97 2007-11-23 21:14:43 fwarmerdam Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -1456,7 +1456,7 @@ TIFFUnlinkDirectory(TIFF* tif, uint16 dirn) tif->tif_rawdata = NULL; tif->tif_rawcc = 0; } - tif->tif_flags &= ~(TIFF_BEENWRITING|TIFF_BUFFERSETUP|TIFF_POSTENCODE|TIFF_BUF2WRITE); + tif->tif_flags &= ~(TIFF_BEENWRITING|TIFF_BUFFERSETUP|TIFF_POSTENCODE|TIFF_BUF4WRITE); TIFFFreeDirectory(tif); TIFFDefaultDirectory(tif); tif->tif_diroff = 0; /* force link on next write */