pretty-print dzsave xml output
This commit is contained in:
parent
98e156301c
commit
3913ef5c89
@ -839,10 +839,7 @@ write_vips_meta( VipsForeignSaveDz *dz )
|
|||||||
return( -1 );
|
return( -1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Double-cast stops a bogus gcc 4.1 compiler warning.
|
xmlDocDumpFormatMemory( doc, (xmlChar **) &dump, &dump_size, 1 );
|
||||||
xmlDocDumpMemory( doc, (xmlChar **) ((char *) &dump), &dump_size );
|
|
||||||
*/
|
|
||||||
xmlDocDumpMemory( doc, (xmlChar **) &dump, &dump_size );
|
|
||||||
if( !dump ) {
|
if( !dump ) {
|
||||||
vips_error( class->nickname, "%s", _( "xml save error" ) );
|
vips_error( class->nickname, "%s", _( "xml save error" ) );
|
||||||
xmlFreeDoc( doc );
|
xmlFreeDoc( doc );
|
||||||
|
Loading…
Reference in New Issue
Block a user