summaryrefslogtreecommitdiff
path: root/desktop/treeview.c
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2020-02-22 19:58:52 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2020-02-22 20:04:56 +0000
commit727ff38647218638989d8646b57fac968aba92eb (patch)
treee15d0406ce54b65d1db6ea4c607f33a7e3887b48 /desktop/treeview.c
parente8e7485089763716f645be2bf3d55bff8b4b0659 (diff)
downloadnetsurf-727ff38647218638989d8646b57fac968aba92eb.tar.gz
netsurf-727ff38647218638989d8646b57fac968aba92eb.tar.bz2
Treeview: Constify clip rectangle.
Diffstat (limited to 'desktop/treeview.c')
-rw-r--r--desktop/treeview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/treeview.c b/desktop/treeview.c
index cb4ca80e7..3e23fbe55 100644
--- a/desktop/treeview.c
+++ b/desktop/treeview.c
@@ -2497,7 +2497,7 @@ static void treeview_redraw_tree(
const int x,
const int y,
int *render_y_in_out,
- struct rect *r,
+ const struct rect *r,
struct content_redraw_data *data,
const struct redraw_context *ctx)
{
@@ -2716,7 +2716,7 @@ static void treeview_redraw_search(
const int x,
const int y,
int *render_y_in_out,
- struct rect *r,
+ const struct rect *r,
struct content_redraw_data *data,
const struct redraw_context *ctx)
{