summaryrefslogtreecommitdiff
path: root/src/select/properties/max_height.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/select/properties/max_height.c')
-rw-r--r--src/select/properties/max_height.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select/properties/max_height.c b/src/select/properties/max_height.c
index 372a62c..cdbc0a0 100644
--- a/src/select/properties/max_height.c
+++ b/src/select/properties/max_height.c
@@ -29,7 +29,7 @@ css_error set_max_height_from_hint(const css_hint *hint,
css_error initial_max_height(css_select_state *state)
{
- return set_max_height(state->result, CSS_MAX_HEIGHT_NONE,
+ return set_max_height(state->computed, CSS_MAX_HEIGHT_NONE,
0, CSS_UNIT_PX);
}