summaryrefslogtreecommitdiff
path: root/render/box.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/box.c')
-rw-r--r--render/box.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/box.c b/render/box.c
index 9d30bbfc5..e51078a12 100644
--- a/render/box.c
+++ b/render/box.c
@@ -194,7 +194,7 @@ struct box * box_create(struct css_style * style,
box->object_state = 0;
#endif
box->x = box->y = 0;
- box->width = box->height = 0;
+ box->height = 0;
return box;
}