Fix a typo

We don't want to parse a weight twice, but a weight and a stretch.
This commit is contained in:
Matthias Clasen 2016-04-18 14:38:12 -04:00
parent 492a406bbd
commit 2603011ea0

View File

@ -503,7 +503,7 @@ parse_font (GtkCssShorthandProperty *shorthand,
if (values[4] == NULL)
{
values[4] = _gtk_css_font_weight_value_try_parse (parser);
values[4] = _gtk_css_font_stretch_value_try_parse (parser);
parsed_one = parsed_one || values[4] != NULL;
}
}