Skip to content

Commit

Permalink
Restore the missing bracket.
Browse files Browse the repository at this point in the history
This build regression was introduced in
f560fc2.
  • Loading branch information
Lastique authored and dlemstra committed Mar 7, 2023
1 parent 75aac79 commit 999ee5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magick/resample.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ MagickExport MagickBooleanType ResamplePixelColor(
weight = resample_filter->filter_lut[(int)Q];
#else
/* Note that the ellipse has been pre-scaled so F = support^2 */
if ((Q >= 0.0) && (Q < (double)resample_filter->F))
if ((Q >= 0.0) && (Q < (double)resample_filter->F)) {
weight = GetResizeFilterWeight(resample_filter->filter_def,
sqrt(Q)); /* a SquareRoot! Arrggghhhhh... */
#endif
Expand Down

0 comments on commit 999ee5b

Please sign in to comment.