Changed indentation.
This commit is contained in:
parent
e7201f6204
commit
7fbb282080
@ -1,4 +1,4 @@
|
|||||||
/* $Id: tif_dirinfo.c,v 1.45 2005-06-14 04:57:33 dron Exp $ */
|
/* $Id: tif_dirinfo.c,v 1.46 2005-06-29 10:25:52 dron Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1988-1997 Sam Leffler
|
* Copyright (c) 1988-1997 Sam Leffler
|
||||||
@ -405,8 +405,7 @@ _TIFFSetupFieldInfo(TIFF* tif)
|
|||||||
{
|
{
|
||||||
TIFFFieldInfo *fld = tif->tif_fieldinfo[i];
|
TIFFFieldInfo *fld = tif->tif_fieldinfo[i];
|
||||||
if (fld->field_bit == FIELD_CUSTOM &&
|
if (fld->field_bit == FIELD_CUSTOM &&
|
||||||
strncmp("Tag ", fld->field_name, 4) == 0)
|
strncmp("Tag ", fld->field_name, 4) == 0) {
|
||||||
{
|
|
||||||
_TIFFfree(fld->field_name);
|
_TIFFfree(fld->field_name);
|
||||||
_TIFFfree(fld);
|
_TIFFfree(fld);
|
||||||
}
|
}
|
||||||
@ -461,7 +460,7 @@ _TIFFMergeFieldInfo(TIFF* tif, const TIFFFieldInfo info[], int n)
|
|||||||
tp[i] = (TIFFFieldInfo*) &info[i]; /* XXX */
|
tp[i] = (TIFFFieldInfo*) &info[i]; /* XXX */
|
||||||
|
|
||||||
/* Sort the field info by tag number */
|
/* Sort the field info by tag number */
|
||||||
qsort(tif->tif_fieldinfo, (size_t) (tif->tif_nfields += n),
|
qsort(tif->tif_fieldinfo, tif->tif_nfields += n,
|
||||||
sizeof (TIFFFieldInfo*), tagCompare);
|
sizeof (TIFFFieldInfo*), tagCompare);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user