From: Matthew Fernandez Date: Thu, 8 Sep 2022 00:27:49 +0000 (-0700) Subject: rsvg plugin gvloadimage_rsvg_cairo: remove unnecessary parens X-Git-Tag: 7.0.0~12^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e052d6966a2f3db23469c462ba3b6dcb75235aa;p=graphviz rsvg plugin gvloadimage_rsvg_cairo: remove unnecessary parens --- diff --git a/plugin/rsvg/gvloadimage_rsvg.c b/plugin/rsvg/gvloadimage_rsvg.c index f9ba846f9..a623888a0 100644 --- a/plugin/rsvg/gvloadimage_rsvg.c +++ b/plugin/rsvg/gvloadimage_rsvg.c @@ -158,7 +158,7 @@ static void gvloadimage_rsvg_cairo(GVJ_t * job, usershape_t *us, boxf b, bool fi cairo_set_source_surface(cr, surface, 0, 0); cairo_translate(cr, b.LL.x, -b.UR.y); - cairo_scale(cr, (b.UR.x - b.LL.x)/(us->w), (b.UR.y - b.LL.y)/(us->h)); + cairo_scale(cr, (b.UR.x - b.LL.x) / us->w, (b.UR.y - b.LL.y) / us->h); rsvg_handle_render_cairo(rsvgh, cr); cairo_paint (cr);