diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-02-14 19:17:08 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-02-14 19:17:08 +0000 |
commit | f42ed976e5e4c59b25250ad106527ac7b4447f68 (patch) | |
tree | 0886af935d7a79210ee43ea9f5b11c8387f89036 /desktop/scroll.c | |
parent | c05333fa62c6dfdd76f20d8a4056bd66f6e9cddd (diff) | |
download | netsurf-f42ed976e5e4c59b25250ad106527ac7b4447f68.tar.gz netsurf-f42ed976e5e4c59b25250ad106527ac7b4447f68.tar.bz2 |
Constify
svn path=/trunk/netsurf/; revision=11680
Diffstat (limited to 'desktop/scroll.c')
-rw-r--r-- | desktop/scroll.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/desktop/scroll.c b/desktop/scroll.c index 19efa8df5..5d7f179ba 100644 --- a/desktop/scroll.c +++ b/desktop/scroll.c @@ -196,15 +196,12 @@ static inline bool scroll_redraw_scrollbar_rectangle( * \param scroll the scroll to be redrawn * \param x the X coordinate to draw the scroll at * \param y the Y coordinate to draw the scroll at - * \param clip_x0 minimum x of the clipping rectangle - * \param clip_y0 minimum y of the clipping rectangle - * \param clip_x1 maximum x of the clipping rectangle - * \param clip_y1 maximum y of the clipping rectangle + * \param clip the clipping rectangle * \param scale scale for the redraw * \return true on succes false otherwise */ -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) { int w = SCROLLBAR_WIDTH; int well_length, bar_off, bar_c0, bar_c1; |