]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 25 May 2013 12:50:16 +0000 (12:50 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 25 May 2013 12:50:16 +0000 (12:50 +0000)
MagickWand/mogrify.c
MagickWand/operation.c

index 06090ede79d5cc7408f6d587d768cd52ec35ab67..d59f3cb9b0f935e3d4f3b3e4771041120b4b1991 100644 (file)
@@ -1800,7 +1800,6 @@ WandExport MagickBooleanType MogrifyImage(ImageInfo *image_info,const int argc,
             if (text == (char *) NULL)
               break;
             (void) fputs(text,stdout);
-            (void) fputc('\n',stdout);
             text=DestroyString(text);
             break;
           }
index c9b5accfed1dd967a901b365abad261c2104988c..0611999029e8e189c3f45b1bfcb3618ca39f184f 100644 (file)
@@ -833,7 +833,7 @@ WandPrivate void CLISettingOptionInfo(MagickCLI *cli_wand,
       if (LocaleCompare("features",option+1) == 0)
         {
           (void) SetImageOption(_image_info,"identify:features",
-                    ArgBooleanString);
+            ArgBooleanString);
           if (IfSetOption)
             (void) SetImageArtifact(_image,"verbose","true");
           break;
@@ -2467,16 +2467,17 @@ static MagickBooleanType CLISimpleOperatorImage(MagickCLI *cli_wand,
             *text;
 
           format=GetImageOption(_image_info,"format");
-          if (format == (char *) NULL) {
-            (void) IdentifyImage(_image,stdout,_image_info->verbose,_exception);
-            break;
-          }
+          if (format == (char *) NULL)
+            {
+              (void) IdentifyImage(_image,stdout,_image_info->verbose,
+                _exception);
+              break;
+            }
           text=InterpretImageProperties(_image_info,_image,format,_exception);
           if (text == (char *) NULL)
             CLIWandExceptionBreak(OptionWarning,"InterpretPropertyFailure",
-                 option);
+              option);
           (void) fputs(text,stdout);
-          (void) fputc('\n',stdout);
           text=DestroyString((char *)text);
           break;
         }