fix vips_init in example

This commit is contained in:
John Cupitt 2022-09-08 17:05:10 +01:00
parent bce598cc35
commit 1bd618546b

View File

@ -73,7 +73,7 @@ main( int argc, char **argv )
VipsObject *context; VipsObject *context;
VipsImage *x; VipsImage *x;
if( VIPS_INIT( "" ) ) if( VIPS_INIT( argv[0] ) )
vips_error_exit( NULL ); vips_error_exit( NULL );
if( argc != 3 ) if( argc != 3 )