summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-12-28 14:13:39 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2019-12-28 14:13:39 +0000
commit0f9ef67add866aa8f2f570e18fcf0f86b296b591 (patch)
tree8f851e388290179f835d9db087182c251faf334b
parent8070db3c8ca1c971c9a20c659af96ec31fa162cd (diff)
downloadnetsurf-0f9ef67add866aa8f2f570e18fcf0f86b296b591.tar.gz
netsurf-0f9ef67add866aa8f2f570e18fcf0f86b296b591.tar.bz2
Layout: Constify box through layout_handle_box_sizing().
-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 f7653f96a..7d2739f74 100644
--- a/content/handlers/html/layout.c
+++ b/content/handlers/html/layout.c
@@ -1227,7 +1227,7 @@ static void layout_minmax_block(
*/
static void layout_handle_box_sizing(
const nscss_len_ctx *len_ctx,
- struct box *box,
+ const struct box *box,
int available_width,
bool setwidth,
int *dimension)