tiny fixes

This commit is contained in:
John Cupitt 2017-01-24 11:02:40 +00:00
parent c9ce8f70a1
commit 61d9f03ef8
2 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ gaussnoise_vec( im_object *argv )
static im_function gaussnoise_desc = {
"im_gaussnoise", /* Name */
"generate image of gaussian noise with specified statistics",
IM_FN_PIO, /* Flags */
IM_FN_PIO | IM_FN_NOCACHE, /* Flags */
gaussnoise_vec, /* Dispatch function */
IM_NUMBER( gaussnoise_args ), /* Size of arg list */
gaussnoise_args /* Arg list */

View File

@ -182,7 +182,7 @@ vips_hist_local_generate( VipsRegion *or,
VipsPel * restrict p1;
int x, i, j, b;
/* Find histogram for start of this line.
/* Find histogram for the start of this line.
*/
for( b = 0; b < bands; b++ )
memset( seq->hist[b], 0, 256 * sizeof( unsigned int ) );