]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 10 Sep 2014 22:48:09 +0000 (22:48 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 10 Sep 2014 22:48:09 +0000 (22:48 +0000)
MagickCore/option.c

index f2ce42da534c7e3a508ea53c49205ec41994f52d..85d584d62e7df5c10275783a7615ee9f0896f385 100644 (file)
@@ -2192,7 +2192,7 @@ MagickExport ssize_t GetCommandOptionFlags(const CommandOption option,
 %
 %  The format of the GetCommandOptionInfo method is:
 %
-%      const char **GetCommandOptionInfo(const CommandOption option)
+%      const char **GetCommandOptionInfo(const char *option)
 %
 %  A description of each parameter follows:
 %
@@ -2341,8 +2341,8 @@ MagickExport MagickBooleanType IsCommandOption(const char *option)
   if ((*option != '-') && (*option != '+'))
     return(MagickFalse);
   if (strlen(option) == 1)
-    return(IsMagickTrue( (*option == '{') || (*option == '}')
-                      || (*option == '[') || (*option == ']') ));
+    return(IsMagickTrue((*option == '{') || (*option == '}') ||
+      (*option == '[') || (*option == ']')));
   option++;
   if (*option == '-')
     return(MagickTrue);