]> granicus.if.org Git - imagemagick/commitdiff
Fixed two typo's.
authordirk <dirk@git.imagemagick.org>
Fri, 1 Jan 2016 12:10:03 +0000 (13:10 +0100)
committerdirk <dirk@git.imagemagick.org>
Fri, 1 Jan 2016 12:10:03 +0000 (13:10 +0100)
MagickWand/convert.c
MagickWand/mogrify.c

index bfb5ca47823c68b711702495d80b76d2b73fbc04..e9e7db64edef623c07f970711a1b8b1f2444fc18 100644 (file)
@@ -1136,7 +1136,7 @@ WandExport MagickBooleanType ConvertImageCommand(ImageInfo *image_info,
           }
         if (LocaleCompare("concurrent",option+1) == 0)
           break;
-        if (LocaleCompare("connected-component",option+1) == 0)
+        if (LocaleCompare("connected-components",option+1) == 0)
           {
             i++;
             if (i == (ssize_t) argc)
index bef2588bc5a177614dbd8575743a6209d75b1188..2db6da74fcd2a4d0ae3b4fe1021d6aceb0b70d0d 100644 (file)
@@ -1191,7 +1191,7 @@ WandExport MagickBooleanType MogrifyImage(ImageInfo *image_info,const int argc,
               MagickFalse,argv[i+1]);
             break;
           }
-        if (LocaleCompare("connected-component",option+1) == 0)
+        if (LocaleCompare("connected-components",option+1) == 0)
           {
             (void) SyncImageSettings(mogrify_info,*image,exception);
             mogrify_image=ConnectedComponentsImage(*image,(size_t)