]> granicus.if.org Git - imagemagick/commitdiff
Fix %[fx:atan2(...)]
authoranthony <anthony@git.imagemagick.org>
Thu, 24 May 2012 12:41:54 +0000 (12:41 +0000)
committeranthony <anthony@git.imagemagick.org>
Thu, 24 May 2012 12:41:54 +0000 (12:41 +0000)
MagickCore/fx.c

index bf4b595a1b48b0b7c656c2792cbe40c7e4fa4742..e6adcde0040106e2752fb7b61bcf07489e2af099 100644 (file)
@@ -1901,6 +1901,11 @@ static const char *FxOperatorPrecedence(const char *expression,
             break;
           }
 #endif
+        if (LocaleNCompare(expression,"atan2",5) == 0)
+          {
+            expression+=5;
+            break;
+          }
         break;
       }
       case 'E':