mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-06 17:50:21 +01:00
[path] Standalone header-compilation
Hmm, TRUE/FALSE apparently weren't defined before use. Odd.
This commit is contained in:
parent
4f880deeab
commit
e7a118d3f8
1 changed files with 2 additions and 2 deletions
|
|
@ -139,10 +139,10 @@ static inline cairo_bool_t
|
|||
_cairo_path_fixed_is_rectilinear_fill (const cairo_path_fixed_t *path)
|
||||
{
|
||||
if (! path->is_rectilinear)
|
||||
return FALSE;
|
||||
return 0;
|
||||
|
||||
if (! path->has_current_point)
|
||||
return TRUE;
|
||||
return 1;
|
||||
|
||||
/* check whether the implicit close preserves the rectilinear property */
|
||||
return path->current_point.x == path->last_move_point.x ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue