fix vips_init in example

This commit is contained in:
John Cupitt 2022-09-08 17:05:10 +01:00
parent bce598cc35
commit 1bd618546b
1 changed files with 1 additions and 1 deletions

View File

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