compat wrapper for bool was broken

oops it was calling relational instead
This commit is contained in:
John Cupitt 2012-02-10 14:50:46 +00:00
parent 8b5b3288b4
commit 71d55c4554
3 changed files with 2 additions and 2 deletions

1
TODO
View File

@ -17,6 +17,7 @@
- vips_image_new_from_file() etc. don't allow options in file names ... should
they have varargs instead for options? or a version which goes view
new_from_string and does allow options?

View File

@ -174,7 +174,6 @@ vips_boolean_buffer( VipsArithmetic *arithmetic,
}
}
/* Save a bit of typing.
*/
#define UC VIPS_FORMAT_UCHAR

View File

@ -1823,7 +1823,7 @@ vips__boolean( IMAGE *in1, IMAGE *in2, IMAGE *out,
{
VipsImage *t;
if( vips_relational( in1, in2, &t, boolean,
if( vips_boolean( in1, in2, &t, boolean,
NULL ) )
return( -1 );
if( vips_image_write( t, out ) ) {