mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
css: Fix border value parsing
This function was not resetting computed as it meant to because the last loop was never executed. Pointed out in https://www.viva64.com/en/b/0793/
This commit is contained in:
parent
3c15fa96bc
commit
3f28399f7d
@ -218,7 +218,7 @@ _gtk_css_border_value_parse (GtkCssParser *parser,
|
||||
}
|
||||
|
||||
result->is_computed = TRUE;
|
||||
for (; i < 4; i++)
|
||||
for (i = 0; i < 4; i++)
|
||||
if (result->values[i] && !gtk_css_value_is_computed (result->values[i]))
|
||||
{
|
||||
result->is_computed = FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user