summaryrefslogtreecommitdiff
path: root/src/select/properties/max_width.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/select/properties/max_width.c')
-rw-r--r--src/select/properties/max_width.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select/properties/max_width.c b/src/select/properties/max_width.c
index 62f33f9..a8472aa 100644
--- a/src/select/properties/max_width.c
+++ b/src/select/properties/max_width.c
@@ -29,7 +29,7 @@ css_error set_max_width_from_hint(const css_hint *hint,
css_error initial_max_width(css_select_state *state)
{
- return set_max_width(state->result, CSS_MAX_WIDTH_NONE, 0, CSS_UNIT_PX);
+ return set_max_width(state->computed, CSS_MAX_WIDTH_NONE, 0, CSS_UNIT_PX);
}
css_error compose_max_width(const css_computed_style *parent,