From 1876785d12d64c4c6efdbd96d2c54255f433c41b Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 22 Jan 2009 11:46:23 +0000 Subject: [PATCH] Fix the format for a floating point value The debug annotation was still expecting an integer after we switched the angle to float. --- clutter/clutter-behaviour-ellipse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clutter/clutter-behaviour-ellipse.c b/clutter/clutter-behaviour-ellipse.c index 4212b957d..0bd8c86fe 100644 --- a/clutter/clutter-behaviour-ellipse.c +++ b/clutter/clutter-behaviour-ellipse.c @@ -104,7 +104,7 @@ typedef struct _knot3d static void clutter_behaviour_ellipse_advance (ClutterBehaviourEllipse *e, - float angle, + float angle, knot3d *knot) { ClutterBehaviourEllipsePrivate *priv = e->priv; @@ -166,7 +166,7 @@ clutter_behaviour_ellipse_advance (ClutterBehaviourEllipse *e, knot->y = y; knot->z = z; - CLUTTER_NOTE (BEHAVIOUR, "advancing to angle %d [%d, %d] (a: %d, b: %d)", + CLUTTER_NOTE (BEHAVIOUR, "advancing to angle %.2f [%d, %d] (a: %d, b: %d)", angle, knot->x, knot->y, priv->a, priv->b);