summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-12-28 14:14:46 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2022-10-29 16:56:27 +0100
commita99213bfd96e76363140d7a927c68e732a4f28df (patch)
tree7739f5b75a6161e0dccbdd346a900c5ac03e6e58
parent31c71f9e24a2863f08c1eb8246d3c230118e4042 (diff)
downloadnetsurf-a99213bfd96e76363140d7a927c68e732a4f28df.tar.gz
netsurf-a99213bfd96e76363140d7a927c68e732a4f28df.tar.bz2
Layout: Constify box through layout_find_dimensions().
-rw-r--r--content/handlers/html/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/html/layout.c b/content/handlers/html/layout.c
index 442ced6c4..cb5be5dde 100644
--- a/content/handlers/html/layout.c
+++ b/content/handlers/html/layout.c
@@ -1293,7 +1293,7 @@ static void
layout_find_dimensions(const css_unit_ctx *unit_len_ctx,
int available_width,
int viewport_height,
- struct box *box,
+ const struct box *box,
const css_computed_style *style,
int *width,
int *height,