summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-12-28 14:14:46 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2019-12-28 14:14:46 +0000
commit6f31a5cb88ddcb222867dd1f825848600e49c611 (patch)
treec3e23ba6126b44004de6ce6a619bd1a038c0094c
parent0f9ef67add866aa8f2f570e18fcf0f86b296b591 (diff)
downloadnetsurf-6f31a5cb88ddcb222867dd1f825848600e49c611.tar.gz
netsurf-6f31a5cb88ddcb222867dd1f825848600e49c611.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 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,