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:
Matthias Clasen 2021-02-04 00:11:42 -05:00
parent 3c15fa96bc
commit 3f28399f7d

View File

@ -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;