Merge branch 'dzsave-gsf' of github.com:jcupitt/libvips into dzsave-gsf

This commit is contained in:
John Cupitt 2014-04-30 12:07:05 +01:00
commit 88162ce3b6
2 changed files with 5 additions and 1 deletions

1
TODO
View File

@ -1,3 +1,4 @@
- try
vips vips

View File

@ -1511,8 +1511,11 @@ vips_foreign_save_dz_build( VipsObject *object )
GsfOutput *out;
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 *)
gsf_outfile_stdio_new( dz->dirname, &error )) ) {
gsf_outfile_stdio_new( dz->name, &error )) ) {
vips_g_error( &error );
return( -1 );
}