Merge branch 'dzsave-gsf' of github.com:jcupitt/libvips into dzsave-gsf
This commit is contained in:
commit
88162ce3b6
|
@ -1511,8 +1511,11 @@ vips_foreign_save_dz_build( VipsObject *object )
|
||||||
GsfOutput *out;
|
GsfOutput *out;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
||||||
|
/* We can't write to dirname: gsf_outfile_stdio_new() will
|
||||||
|
* make a dir called @arg1 to hold the things we make.
|
||||||
|
*/
|
||||||
if( !(out = (GsfOutput *)
|
if( !(out = (GsfOutput *)
|
||||||
gsf_outfile_stdio_new( dz->dirname, &error )) ) {
|
gsf_outfile_stdio_new( dz->name, &error )) ) {
|
||||||
vips_g_error( &error );
|
vips_g_error( &error );
|
||||||
return( -1 );
|
return( -1 );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue