From: cristy Date: Tue, 10 Apr 2012 11:53:24 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5842 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca0e82c7d9d6994cd677d9848d9ad2dff1afb031;p=imagemagick --- diff --git a/MagickWand/operation.c b/MagickWand/operation.c index ebde80ea5..9925816ab 100644 --- a/MagickWand/operation.c +++ b/MagickWand/operation.c @@ -3717,8 +3717,12 @@ WandExport void CLIListOperatorImages(MagickCLI *cli_wand, MagickFalse,value); /* Get "clip-to-self" expert setting (false is normal) */ - clip_to_self=IsStringTrue(GetImageOption(_image_info, - "compose:clip-to-self")); /* if this is true */ + value=GetImageOption(_image_info,"compose:clip-to-self"); + if (value == (const char *) NULL) + clip_to_self=MagickTrue; + else + clip_to_self=IsStringTrue(GetImageOption(_image_info, + "compose:clip-to-self")); /* if this is true */ value=GetImageOption(_image_info,"compose:outside-overlay"); if (value != (const char *) NULL) { /* or this false */ /* FUTURE: depreciate warning for "compose:outside-overlay"*/