Fix the format for a floating point value
authorEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 22 Jan 2009 11:46:23 +0000 (11:46 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 22 Jan 2009 11:46:23 +0000 (11:46 +0000)
The debug annotation was still expecting an integer after
we switched the angle to float.

clutter/clutter-behaviour-ellipse.c

index 4212b95..0bd8c86 100644 (file)
@@ -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);