]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 28 Jun 2015 12:55:22 +0000 (12:55 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 28 Jun 2015 12:55:22 +0000 (12:55 +0000)
MagickCore/geometry.c

index 472a996365012da3b10c53a8a2cf012bdb1d77cf..0922636a0f0ffd62a02abd70c5f6a936694ff7f2 100644 (file)
@@ -921,7 +921,7 @@ MagickExport MagickStatusType ParseGeometry(const char *geometry,
         break;
       }
       default:
-        return(flags);
+        return(NoValue);
     }
   }
   /*
@@ -932,8 +932,6 @@ MagickExport MagickStatusType ParseGeometry(const char *geometry,
     return(flags);
   q=p;
   value=StringToDouble(p,&q);
-  if (LocaleNCompare(p,"0x",2) == 0)
-    value=(double) strtol(p,&q,10);
   c=(int) ((unsigned char) *q);
   if ((c == 215) || (*q == 'x') || (*q == 'X') || (*q == ',') ||
       (*q == '/') || (*q == ':') || (*q =='\0'))