diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2019-12-28 14:14:46 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2019-12-28 14:14:46 +0000 |
commit | 6f31a5cb88ddcb222867dd1f825848600e49c611 (patch) | |
tree | c3e23ba6126b44004de6ce6a619bd1a038c0094c /content/handlers | |
parent | 0f9ef67add866aa8f2f570e18fcf0f86b296b591 (diff) | |
download | netsurf-6f31a5cb88ddcb222867dd1f825848600e49c611.tar.gz netsurf-6f31a5cb88ddcb222867dd1f825848600e49c611.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 7d2739f74..ab8c83afe 100644 --- a/content/handlers/html/layout.c +++ b/content/handlers/html/layout.c @@ -1278,7 +1278,7 @@ static void layout_find_dimensions(const nscss_len_ctx *len_ctx, int available_width, int viewport_height, - struct box *box, + const struct box *box, const css_computed_style *style, int *width, int *height, |