typo fixes in code comments
This commit is contained in:
parent
facb37f149
commit
a6fa499e20
@ -710,7 +710,7 @@ _TIFFVSetField(TIFF* tif, uint32 tag, va_list ap)
|
||||
double v2 = va_arg(ap, double);
|
||||
_TIFFmemcpy(val, &v2, tv_size);
|
||||
} else {
|
||||
/*-- default schould be tv_size == 4 */
|
||||
/*-- default should be tv_size == 4 */
|
||||
float v3 = (float)va_arg(ap, double);
|
||||
_TIFFmemcpy(val, &v3, tv_size);
|
||||
/*-- ToDo: After Testing, this should be removed and tv_size==4 should be set as default. */
|
||||
@ -1229,7 +1229,7 @@ _TIFFVGetField(TIFF* tif, uint32 tag, va_list ap)
|
||||
*va_arg(ap, double*) = *(double *)val;
|
||||
ret_val = 1;
|
||||
} else {
|
||||
/*-- default schould be tv_size == 4 */
|
||||
/*-- default should be tv_size == 4 */
|
||||
*va_arg(ap, float*) = *(float *)val;
|
||||
ret_val = 1;
|
||||
/*-- ToDo: After Testing, this should be removed and tv_size==4 should be set as default. */
|
||||
|
@ -819,7 +819,7 @@ TIFFWriteDirectorySec(TIFF* tif, int isimage, int imagedone, uint64* pdiroff)
|
||||
if (!TIFFWriteDirectoryTagRationalDoubleArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value))
|
||||
goto bad;
|
||||
} else {
|
||||
/*-- default schould be tv_size == 4 */
|
||||
/*-- default should be tv_size == 4 */
|
||||
if (!TIFFWriteDirectoryTagRationalArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value))
|
||||
goto bad;
|
||||
/*-- ToDo: After Testing, this should be removed and tv_size==4 should be set as default. */
|
||||
@ -838,7 +838,7 @@ TIFFWriteDirectorySec(TIFF* tif, int isimage, int imagedone, uint64* pdiroff)
|
||||
if (!TIFFWriteDirectoryTagSrationalDoubleArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value))
|
||||
goto bad;
|
||||
} else {
|
||||
/*-- default schould be tv_size == 4 */
|
||||
/*-- default should be tv_size == 4 */
|
||||
if (!TIFFWriteDirectoryTagSrationalArray(tif,&ndir,dir,tag,count,tif->tif_dir.td_customValues[m].value))
|
||||
goto bad;
|
||||
/*-- ToDo: After Testing, this should be removed and tv_size==4 should be set as default. */
|
||||
@ -2556,7 +2556,7 @@ TIFFWriteDirectoryTagCheckedSrationalArray(TIFF* tif, uint32* ndir, TIFFDirEntry
|
||||
return(o);
|
||||
}
|
||||
|
||||
/*-- Rational2Double: additonal write functions for double arrays */
|
||||
/*-- Rational2Double: additional write functions for double arrays */
|
||||
static int
|
||||
TIFFWriteDirectoryTagCheckedRationalDoubleArray(TIFF* tif, uint32* ndir, TIFFDirEntry* dir, uint16 tag, uint32 count, double* value)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user