oops fix non-zip output
This commit is contained in:
parent
e21c6f236e
commit
02a685f1e5
@ -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
Block a user