Re: [PATCH] Fix misleading indentation warning.

Bryce Harrington <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Thanks, both patches landed:

To ssh://git.freedesktop.org/git/cairo
   a5ac8fe..339fe9a  master -> master


On Tue, Jul 04, 2017 at 12:21:02PM +0200, Guillermo Rodriguez wrote:
> Spotted by David Kastrup <[email protected]>.
> 
> ---
>  util/cairo-script/cairo-script-operators.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/util/cairo-script/cairo-script-operators.c b/util/cairo-script/cairo-script-operators.c
> index aa38823..e493311 100644
> --- a/util/cairo-script/cairo-script-operators.c
> +++ b/util/cairo-script/cairo-script-operators.c
> @@ -4810,8 +4810,8 @@ _set_dash (csi_t *ctx)
>  	if (_csi_likely (array->stack.len < ARRAY_LENGTH (stack_dashes))) {
>  	    dashes = stack_dashes;
>  	} else {
> -	if (_csi_unlikely ((unsigned) array->stack.len >= INT_MAX / sizeof (double)))
> -	    return _csi_error (CSI_STATUS_NO_MEMORY);
> +	    if (_csi_unlikely ((unsigned) array->stack.len >= INT_MAX / sizeof (double)))
> +		return _csi_error (CSI_STATUS_NO_MEMORY);
>  	    dashes = _csi_alloc (ctx, sizeof (double) * array->stack.len);
>  	    if (_csi_unlikely (dashes == NULL))
>  		return _csi_error (CSI_STATUS_NO_MEMORY);
> -- 
> 1.9.1
> 
> -- 
> cairo mailing list
> [email protected]
> https://lists.cairographics.org/mailman/listinfo/cairo
-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.