[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    [cairo] [PATCH] Fix misleading indentation warning.
From:       Guillermo Rodriguez <guillerodriguez.dev () gmail ! com>
Date:       2017-07-04 10:21:02
Message-ID: 1499163662-13505-1-git-send-email-guillerodriguez.dev () gmail ! com
[Download RAW message or body]

Spotted by David Kastrup <dak@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@cairographics.org
https://lists.cairographics.org/mailman/listinfo/cairo
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic