fix vips_init in example
This commit is contained in:
parent
bce598cc35
commit
1bd618546b
@ -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 )
|
||||||
|
Loading…
Reference in New Issue
Block a user