]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 29 May 2013 11:39:57 +0000 (11:39 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 29 May 2013 11:39:57 +0000 (11:39 +0000)
MagickCore/fx.c

index 812031866fe1e3c71b9ef6f3a1a5376c12e6a56c..9e1f0eafb735f03181df9e23e1576adea38e88ac 100644 (file)
@@ -1351,7 +1351,7 @@ static double FxGetSymbol(FxInfo *fx_info,const PixelChannel channel,
           if (*p == '.')
             p++;
         }
-      if ((isalpha((int) *(p+1)) == 0) && (*p == 'p'))
+      if ((*p == 'p') && (isalpha((int) *(p+1)) == 0))
         {
           p++;
           if (*p == '{')