summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2013-03-21 16:48:43 -0400
committerBehdad Esfahbod <behdad@behdad.org>2013-03-21 16:49:02 -0400
commit13bd8d09b44e50649f6fc4d58d036bc32c1d5c5b (patch)
treeca7fae373d370d6285db0ff8abd49b569ef13a3b
parented6a293e3dd2e81c8e159bf685cce6ffbcd7c81c (diff)
[ft] I meant fabs(), not abs()
-rw-r--r--src/cairo-ft-font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c
index 90f410c7..1ab56be8 100644
--- a/src/cairo-ft-font.c
+++ b/src/cairo-ft-font.c
@@ -759,7 +759,7 @@ _compute_transform (cairo_ft_font_transform_t *sf,
if ((magnify && distance >= 0) || fabs (distance) <= min_distance) {
magnify = distance < 0;
- min_distance = abs (distance);
+ min_distance = fabs (distance);
best_i = i;
best_x_size = x_size;
best_y_size = y_size;