Commit f77f6f33 authored by Benjamin Otte's avatar Benjamin Otte

cssvalue: Fix out-of-bounds in array transition code

parent ebf9e9db
......@@ -126,8 +126,8 @@ gtk_css_value_array_transition_repeat (GtkCssValue *start,
for (i = 0; i < n; i++)
{
transitions[i] = _gtk_css_value_transition (start->values[i],
end->values[i],
transitions[i] = _gtk_css_value_transition (start->values[i % start->n_values],
end->values[i % end->n_values],
property_id,
progress);
if (transitions[i] == NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment