fix typo in last fix
This commit is contained in:
parent
e427d6178d
commit
6311aae796
@ -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
|
* Copyright (c) 1988-1997 Sam Leffler
|
||||||
@ -1456,7 +1456,7 @@ TIFFUnlinkDirectory(TIFF* tif, uint16 dirn)
|
|||||||
tif->tif_rawdata = NULL;
|
tif->tif_rawdata = NULL;
|
||||||
tif->tif_rawcc = 0;
|
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);
|
TIFFFreeDirectory(tif);
|
||||||
TIFFDefaultDirectory(tif);
|
TIFFDefaultDirectory(tif);
|
||||||
tif->tif_diroff = 0; /* force link on next write */
|
tif->tif_diroff = 0; /* force link on next write */
|
||||||
|
Loading…
Reference in New Issue
Block a user