summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/layout.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/render/layout.c b/render/layout.c
index 99c4e995c..7905eabb7 100644
--- a/render/layout.c
+++ b/render/layout.c
@@ -5126,7 +5126,8 @@ void layout_calculate_descendant_bboxes(struct box *box)
{
struct box *child;
- assert((box->width != UNKNOWN_WIDTH) && (box->height != AUTO));
+ assert(box->width != UNKNOWN_WIDTH);
+ assert(box->height != AUTO);
/* assert((box->width >= 0) && (box->height >= 0)); */
/* Initialise box's descendant box to border edge box */