Commit 49571ccc authored by Benjamin Otte's avatar Benjamin Otte

css: Fix variable

And you'd think I'd test my code...
parent 9a01526a
......@@ -1600,7 +1600,7 @@ gtk_css_style_provider_lookup (GtkStyleProviderPrivate *provider,
for (j = 0; j < ruleset->n_styles; j++)
{
GtkCssStyleProperty *prop = ruleset->styles[i].property;
GtkCssStyleProperty *prop = ruleset->styles[j].property;
guint id = _gtk_css_style_property_get_id (prop);
if (!_gtk_css_lookup_is_missing (lookup, id))
......@@ -1608,8 +1608,8 @@ gtk_css_style_provider_lookup (GtkStyleProviderPrivate *provider,
_gtk_css_lookup_set (lookup,
id,
ruleset->styles[i].section,
&ruleset->styles[i].value);
ruleset->styles[j].section,
&ruleset->styles[j].value);
}
}
}
......
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