summaryrefslogtreecommitdiff
path: root/src/select/properties/right.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/select/properties/right.c')
-rw-r--r--src/select/properties/right.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select/properties/right.c b/src/select/properties/right.c
index 9b3a127..2dfdb2f 100644
--- a/src/select/properties/right.c
+++ b/src/select/properties/right.c
@@ -29,7 +29,7 @@ css_error set_right_from_hint(const css_hint *hint,
css_error initial_right(css_select_state *state)
{
- return set_right(state->result, CSS_RIGHT_AUTO, 0, CSS_UNIT_PX);
+ return set_right(state->computed, CSS_RIGHT_AUTO, 0, CSS_UNIT_PX);
}
css_error compose_right(const css_computed_style *parent,