From 1897f062d614ff37cb9dcd3651b4ac42cc38d136 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Fri, 5 Mar 2010 20:22:39 +0000 Subject: [PATCH] stuff --- libvips/iofuncs/region.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvips/iofuncs/region.c b/libvips/iofuncs/region.c index ad261194..f4a7aa78 100644 --- a/libvips/iofuncs/region.c +++ b/libvips/iofuncs/region.c @@ -743,8 +743,8 @@ im_region_fill( REGION *reg, Rect *r, im_region_fill_fn fn, void *a ) return( -1 ); /* Evaluate into or, if we've not got calculated pixels. - */ if( !reg->buffer->done ) { + */ if( fn( reg, a ) ) return( -1 ); @@ -752,7 +752,7 @@ im_region_fill( REGION *reg, Rect *r, im_region_fill_fn fn, void *a ) */ if( reg->buffer ) im_buffer_done( reg->buffer ); - } + //} return( 0 ); }