summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--render/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/layout.c b/render/layout.c
index 6a00dcf1a..ae2fa20cf 100644
--- a/render/layout.c
+++ b/render/layout.c
@@ -1691,7 +1691,7 @@ struct box *layout_minmax_line(struct box *first,
css_len2px(&b->style->width.value.
length, b->style);
if (width < 0)
- width: 0;
+ width = 0;
break;
case CSS_WIDTH_PERCENT:
/*b->width = width *