summaryrefslogtreecommitdiff
path: root/content/handlers/html
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-12-28 14:14:46 +0000
committerMichael Drake <mdrake.unique@gmail.com>2022-10-29 20:30:48 +0100
commit84d3d1bf7a8fc440272b965efd844454c7787b11 (patch)
tree76739ec2a444b6f5aa450ef92d15193ba3901b36 /content/handlers/html
parentae57029f832f4e144ecc24145d5611ea2e6eae11 (diff)
downloadnetsurf-84d3d1bf7a8fc440272b965efd844454c7787b11.tar.gz
netsurf-84d3d1bf7a8fc440272b965efd844454c7787b11.tar.bz2
layout: Constify box through layout_find_dimensions()
Diffstat (limited to 'content/handlers/html')
-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,