summaryrefslogtreecommitdiff
path: root/src/cairo-matrix.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-02-25 13:31:00 +0000
committerCarl Worth <cworth@cworth.org>2005-02-25 13:31:00 +0000
commitf343b0b44a8411a133d2a94ead7faa2e58648f97 (patch)
treee021eb15a4cc1fe8772399720a60f6fb63b4d2b9 /src/cairo-matrix.c
parentebec6df7a77f1c778b69e36d562423a3ffd6edfb (diff)
From David Reveman:
Rewrite to use cairo_bool_t for legibility.
Diffstat (limited to 'src/cairo-matrix.c')
-rw-r--r--src/cairo-matrix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cairo-matrix.c b/src/cairo-matrix.c
index 67d4d0c8..88e536e8 100644
--- a/src/cairo-matrix.c
+++ b/src/cairo-matrix.c
@@ -620,7 +620,7 @@ _cairo_matrix_compute_scale_factors (cairo_matrix_t *matrix, double *sx, double
return CAIRO_STATUS_SUCCESS;
}
-int
+cairo_bool_t
_cairo_matrix_is_integer_translation(cairo_matrix_t *mat,
int *itx, int *ity)
{
@@ -639,7 +639,7 @@ _cairo_matrix_is_integer_translation(cairo_matrix_t *mat,
if (ok) {
*itx = _cairo_fixed_integer_part(ttx);
*ity = _cairo_fixed_integer_part(tty);
- return 1;
+ return TRUE;
}
- return 0;
+ return FALSE;
}