Skip to content

CID 225808: Arguments in wrong order

Ghost User requested to merge (removed):CID-225808 into gimp-2-10

Swapped arguments: height is passed to width. width is passed to height.

Please check the function in /app/core/gimpbrush.c at line: 606

void
gimp_brush_transform_size (GimpBrush     *brush,
                           gdouble        scale,
                           gdouble        aspect_ratio,
                           gdouble        angle,
                           gboolean       reflect,
                           gint          *width,
                           gint          *height)

Discovered by Coverity Scan.

Merge request reports

Loading