Skip to content

CID 225703: Arguments in wrong order

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

stops_horizontally is passed to vertically. stops_vertically is passed to horizontally.

Check the line 1258 in the same file:

static gboolean
gimp_display_shell_scale_image_stops_to_fit (GimpDisplayShell *shell,
                                             gdouble           new_scale,
                                             gdouble           current_scale,
                                             gboolean         *vertically,
                                             gboolean         *horizontally)

Discovered by Coverity Scan.

Merge request reports

Loading