[cairo] [PATCH] Fix misleading indentation warning.
Guillermo Rodriguez
guillerodriguez.dev at gmail.com
Tue Jul 4 10:21:02 UTC 2017
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
More information about the cairo
mailing list