summaryrefslogtreecommitdiff
path: root/render/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/layout.c')
-rw-r--r--render/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/layout.c b/render/layout.c
index c83753195..3463210bc 100644
--- a/render/layout.c
+++ b/render/layout.c
@@ -4435,7 +4435,7 @@ void layout_calculate_descendant_bboxes(struct box *box)
{
struct box *child;
- if (box->width == UNKNOWN_WIDTH || box->height == AUTO /*||
+ if ((box->width == UNKNOWN_WIDTH) || (box->height == AUTO) /*||
box->width < 0 || box->height < 0*/) {
LOG(("%p has bad width or height", box));
/*while (box->parent)