mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
Fix the format for a floating point value
The debug annotation was still expecting an integer after we switched the angle to float.
This commit is contained in:
parent
355555c1bf
commit
1876785d12
@ -104,7 +104,7 @@ typedef struct _knot3d
|
|||||||
|
|
||||||
static void
|
static void
|
||||||
clutter_behaviour_ellipse_advance (ClutterBehaviourEllipse *e,
|
clutter_behaviour_ellipse_advance (ClutterBehaviourEllipse *e,
|
||||||
float angle,
|
float angle,
|
||||||
knot3d *knot)
|
knot3d *knot)
|
||||||
{
|
{
|
||||||
ClutterBehaviourEllipsePrivate *priv = e->priv;
|
ClutterBehaviourEllipsePrivate *priv = e->priv;
|
||||||
@ -166,7 +166,7 @@ clutter_behaviour_ellipse_advance (ClutterBehaviourEllipse *e,
|
|||||||
knot->y = y;
|
knot->y = y;
|
||||||
knot->z = z;
|
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,
|
angle,
|
||||||
knot->x, knot->y,
|
knot->x, knot->y,
|
||||||
priv->a, priv->b);
|
priv->a, priv->b);
|
||||||
|
Loading…
Reference in New Issue
Block a user