summaryrefslogtreecommitdiff
path: root/src/cairo-path-fixed-private.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-09-01 14:31:38 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-09-01 14:31:38 +0100
commite7a118d3f82f2cbefb4a1529cc90f76ed7371ecc (patch)
tree661d506b2806c491c15e04eff79dc1779c8a5d95 /src/cairo-path-fixed-private.h
parent4f880deeabc36842b3b4b0d7ad16383db708cd42 (diff)
downloadcairo-e7a118d3f82f2cbefb4a1529cc90f76ed7371ecc.tar.gz
[path] Standalone header-compilation
Hmm, TRUE/FALSE apparently weren't defined before use. Odd.
Diffstat (limited to 'src/cairo-path-fixed-private.h')
-rw-r--r--src/cairo-path-fixed-private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-path-fixed-private.h b/src/cairo-path-fixed-private.h
index ce35c9efa..08b7a0623 100644
--- a/src/cairo-path-fixed-private.h
+++ b/src/cairo-path-fixed-private.h
@@ -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 ||