return zero from TIFFCreateDirectory().

This commit is contained in:
Frank Warmerdam 2000-01-28 15:40:00 +00:00
parent aca9e32b0a
commit 9675085aa5

View File

@ -1,4 +1,4 @@
/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tif_dir.c,v 1.7 2000-01-28 15:12:17 warmerda Exp $ */ /* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tif_dir.c,v 1.8 2000-01-28 15:40:00 warmerda Exp $ */
/* /*
* Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1988-1997 Sam Leffler
@ -986,6 +986,8 @@ TIFFCreateDirectory(TIFF* tif)
tif->tif_curoff = 0; tif->tif_curoff = 0;
tif->tif_row = (uint32) -1; tif->tif_row = (uint32) -1;
tif->tif_curstrip = (tstrip_t) -1; tif->tif_curstrip = (tstrip_t) -1;
return 0;
} }
/* /*