From 999ee5b556cf51e8dc84a2fa9b318241c9a6b081 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Tue, 7 Mar 2023 03:07:47 +0300 Subject: [PATCH] Restore the missing bracket. This build regression was introduced in f560fc2444497f62c9b50cf6314f31fd148b381e. --- magick/resample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magick/resample.c b/magick/resample.c index 2e47012aa..e854f2019 100644 --- a/magick/resample.c +++ b/magick/resample.c @@ -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