summaryrefslogtreecommitdiff
path: root/content/handlers
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-23 17:25:51 +0100
commit27e90e89a50e012ff45ff227c7b3758a2e68d760 (patch)
treece2ea0c13b8fdbfa12f7bb932ef453617bac0ef8 /content/handlers
parentfe80441519092c0b6875b38394f5980bceb015df (diff)
downloadnetsurf-27e90e89a50e012ff45ff227c7b3758a2e68d760.tar.gz
netsurf-27e90e89a50e012ff45ff227c7b3758a2e68d760.tar.bz2
Layout: Constify box through layout_find_dimensions().
Diffstat (limited to 'content/handlers')
-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,