]> granicus.if.org Git - imagemagick/commitdiff
Remove previous geometry changes
authoranthony <anthony@git.imagemagick.org>
Tue, 11 May 2010 12:00:43 +0000 (12:00 +0000)
committeranthony <anthony@git.imagemagick.org>
Tue, 11 May 2010 12:00:43 +0000 (12:00 +0000)
magick/geometry.c

index 6498fe339e9035a23d90d570d8509903e270b630..7c1175651107713da9ff7405416b8fb8c024b73f 100644 (file)
@@ -794,7 +794,6 @@ MagickExport MagickStatusType ParseGeometry(const char *geometry,
       case 'X':
       case '/':
       case ':':
-      case ';':
       {
         p++;
         break;
@@ -820,7 +819,7 @@ MagickExport MagickStatusType ParseGeometry(const char *geometry,
   if (LocaleNCompare(p,"0x",2) == 0)
     value=(double) strtol(p,&q,10);
   if ((((int) *q) == -41) || (*q == 'x') || (*q == 'X') || (*q == ',') ||
-      (*q == '/') || (*q == ':') || (*q == ';') || (*q =='\0'))
+      (*q == '/') || (*q == ':') || (*q =='\0'))
     {
       /*
         Parse rho.
@@ -838,7 +837,7 @@ MagickExport MagickStatusType ParseGeometry(const char *geometry,
     }
   q=p;
   if ((((int) *p) == -41) || (*p == 'x') || (*p == 'X') || (*p == ',') ||
-      (*p == '/') || (*p == ':') || (*p == ';'))
+      (*p == '/') || (*p == ':'))
     {
       /*
         Parse sigma.
@@ -860,13 +859,12 @@ MagickExport MagickStatusType ParseGeometry(const char *geometry,
     }
   while (isspace((int) ((unsigned char) *p)) != 0)
     p++;
-  if ((*p == '+') || (*p == '-') || (*p == ',') || (*p == '/') ||
-       (*p == ':') || (*p == ';'))
+  if ((*p == '+') || (*p == '-') || (*p == ',') || (*p == '/') || (*p == ':'))
     {
       /*
         Parse xi value.
       */
-      if ((*p == ',') || (*p == '/') || (*p == ':') || (*p == ';'))
+      if ((*p == ',') || (*p == '/') || (*p == ':'))
         p++;
       q=p;
       value=strtod(p,&p);
@@ -880,12 +878,12 @@ MagickExport MagickStatusType ParseGeometry(const char *geometry,
       while (isspace((int) ((unsigned char) *p)) != 0)
         p++;
       if ((*p == '+') || (*p == '-') || (*p == ',') || (*p == '/') ||
-          (*p == ':') || (*p == ';'))
+          (*p == ':'))
         {
           /*
             Parse psi value.
           */
-          if ((*p == ',') || (*p == '/') || (*p == ':') || (*p == ';'))
+          if ((*p == ',') || (*p == '/') || (*p == ':'))
             p++;
           q=p;
           value=strtod(p,&p);
@@ -900,7 +898,7 @@ MagickExport MagickStatusType ParseGeometry(const char *geometry,
       while (isspace((int) ((unsigned char) *p)) != 0)
         p++;
       if ((*p == '+') || (*p == '-') || (*p == ',') || (*p == '/') ||
-          (*p == ':') || (*p == ';'))
+          (*p == ':'))
         {
           /*
             Parse chi value.