diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2019-12-28 14:14:46 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2022-10-23 17:25:51 +0100 |
commit | 27e90e89a50e012ff45ff227c7b3758a2e68d760 (patch) | |
tree | ce2ea0c13b8fdbfa12f7bb932ef453617bac0ef8 /content/handlers | |
parent | fe80441519092c0b6875b38394f5980bceb015df (diff) | |
download | netsurf-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.c | 2 |
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, |