[cairo] [PATCH] Fix misleading indentation warning.
Bryce Harrington
bryce at osg.samsung.com
Mon Aug 21 23:29:49 UTC 2017
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 <dak at gnu.org>.
>
> ---
> 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
> cairo at cairographics.org
> https://lists.cairographics.org/mailman/listinfo/cairo
More information about the cairo
mailing list