diff --git a/ChangeLog b/ChangeLog index 27b0e7a0f..c53869159 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-09-27 Matthew Allum + + * tests/test-scale.c: + Fix out of about array addressing (#522, Tommi Komulainen) + 2007-09-27 Matthew Allum * clutter/clutter-clone-texture.c: diff --git a/tests/test-scale.c b/tests/test-scale.c index 25947458c..c46e66c59 100644 --- a/tests/test-scale.c +++ b/tests/test-scale.c @@ -22,7 +22,7 @@ on_timeline_completed (ClutterTimeline *cluttertimeline, { ClutterBehaviourScale *behave = CLUTTER_BEHAVIOUR_SCALE(data); - if (++gindex > G_N_ELEMENTS(gravitys)) + if (++gindex >= G_N_ELEMENTS(gravitys)) gindex = 0; g_object_set (behave, "scale-gravity", gravitys[gindex], NULL);