From f8ecbfdd4702c1b9dcc8f35870b60d61e6d32d79 Mon Sep 17 00:00:00 2001 From: cristy Date: Sun, 15 Sep 2013 19:11:14 +0000 Subject: [PATCH] --- MagickCore/fourier.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MagickCore/fourier.c b/MagickCore/fourier.c index 191118bf6..fc38fd7d1 100644 --- a/MagickCore/fourier.c +++ b/MagickCore/fourier.c @@ -527,7 +527,7 @@ static MagickBooleanType ForwardFourierTransform(FourierInfo *fourier_info, fftw_destroy_plan(fftw_r2c_plan); source_info=(MemoryInfo *) RelinquishVirtualMemory(source_info); value=GetImageArtifact(image,"fourier:normalize"); - if ((value == (const char *) NULL) || (LocaleCompare(value,"fft") == 0)) + if ((value == (const char *) NULL) || (LocaleCompare(value,"forward") == 0)) { double gamma; @@ -1071,7 +1071,7 @@ static MagickBooleanType InverseFourierTransform(FourierInfo *fourier_info, } source_pixels=(double *) GetVirtualMemoryBlob(source_info); value=GetImageArtifact(image,"fourier:normalize"); - if ((value == (const char *) NULL) || (LocaleCompare(value,"fft") == 0)) + if (LocaleCompare(value,"inverse") == 0) { double gamma; -- 2.40.0