From 6f31a5cb88ddcb222867dd1f825848600e49c611 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 28 Dec 2019 14:14:46 +0000 Subject: Layout: Constify box through layout_find_dimensions(). --- content/handlers/html/layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/handlers/html/layout.c b/content/handlers/html/layout.c index 7d2739f74..ab8c83afe 100644 --- a/content/handlers/html/layout.c +++ b/content/handlers/html/layout.c @@ -1278,7 +1278,7 @@ static void layout_find_dimensions(const nscss_len_ctx *len_ctx, int available_width, int viewport_height, - struct box *box, + const struct box *box, const css_computed_style *style, int *width, int *height, -- cgit v1.2.3