diff --git a/libvips/foreign/svgload.c b/libvips/foreign/svgload.c index ef91320e..c00f4252 100644 --- a/libvips/foreign/svgload.c +++ b/libvips/foreign/svgload.c @@ -67,9 +67,13 @@ #include #include +/* The 0 && + return( (bytes = vips__get_bytes( filename, + buf, SVG_HEADER_SIZE )) > 0 && vips_foreign_load_svg_is_a( buf, bytes ) ); }