summaryrefslogtreecommitdiff
path: root/desktop/scroll.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/scroll.h')
-rw-r--r--desktop/scroll.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/scroll.h b/desktop/scroll.h
index ebca97463..e34ebba6b 100644
--- a/desktop/scroll.h
+++ b/desktop/scroll.h
@@ -64,8 +64,8 @@ bool scroll_create(bool horizontal, int length,
void *client_data, scroll_client_callback client_callback,
struct scroll **scroll_pt);
void scroll_destroy(struct scroll *scroll);
-bool scroll_redraw(struct scroll *scroll, int x, int y, struct rect *clip,
- float scale);
+bool scroll_redraw(struct scroll *scroll, int x, int y,
+ const struct rect *clip, float scale);
void scroll_set(struct scroll *scroll, int scroll_val, bool bar);
int scroll_get_offset(struct scroll *scroll);