mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 09:58:12 +02:00
script: Fix misleading indentation warning.
Spotted by David Kastrup <dak@gnu.org>. Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
parent
a5ac8fe203
commit
5ac7b3652d
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue