small bugfixes

This commit is contained in:
John Cupitt 2011-11-09 12:33:57 +00:00
parent 7a42449868
commit 6631fab25c
2 changed files with 2 additions and 1 deletions

View File

@ -184,7 +184,7 @@ vips_measure_build( VipsObject *object )
"avg = %g, sdev = %g" ),
i, j, avg, dev );
*ARY( measure->out, b, x + y * measure->h ) =
*ARY( measure->out, b, i + j * measure->h ) =
avg;
}
}

View File

@ -396,6 +396,7 @@ vips_extract_band_class_init( VipsExtractBandClass *class )
static void
vips_extract_band_init( VipsExtractBand *extract )
{
extract->n = 1;
}
int