summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-12-28 14:13:39 +0000
committerMichael Drake <mdrake.unique@gmail.com>2022-10-29 20:30:48 +0100
commitae57029f832f4e144ecc24145d5611ea2e6eae11 (patch)
tree29ac7d1f364d8854727a90cd888a3f8d1ccef5bf /content
parent86afb06496271e3cd79ee438079d3751cc241b78 (diff)
downloadnetsurf-ae57029f832f4e144ecc24145d5611ea2e6eae11.tar.gz
netsurf-ae57029f832f4e144ecc24145d5611ea2e6eae11.tar.bz2
layout: Constify box through layout_handle_box_sizing()
Diffstat (limited to 'content')
-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 fb4010d0e..442ced6c4 100644
--- a/content/handlers/html/layout.c
+++ b/content/handlers/html/layout.c
@@ -1242,7 +1242,7 @@ static void layout_minmax_block(
*/
static void layout_handle_box_sizing(
const css_unit_ctx *unit_len_ctx,
- struct box *box,
+ const struct box *box,
int available_width,
bool setwidth,
int *dimension)