summaryrefslogtreecommitdiff
path: root/desktop/textarea.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-02-14 19:38:59 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-02-14 19:38:59 +0000
commit3ce0613193ca945566ec9ea056d6a67eae7d199c (patch)
tree6969db5897b0e9510e3315626d05faff7f7df70f /desktop/textarea.c
parenta089ad0e1dd19ef8f5dda555a8657d47c1f7bbd4 (diff)
downloadnetsurf-3ce0613193ca945566ec9ea056d6a67eae7d199c.tar.gz
netsurf-3ce0613193ca945566ec9ea056d6a67eae7d199c.tar.bz2
Constify.
svn path=/trunk/netsurf/; revision=11682
Diffstat (limited to 'desktop/textarea.c')
-rw-r--r--desktop/textarea.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/textarea.c b/desktop/textarea.c
index cb5ce1285..a0dc860ba 100644
--- a/desktop/textarea.c
+++ b/desktop/textarea.c
@@ -728,7 +728,7 @@ bool textarea_reflow(struct text_area *ta, unsigned int line)
* \param y1 bottom Y coordinate of redraw area
*/
void textarea_redraw(struct text_area *ta, int x, int y,
- struct rect *clip)
+ const struct rect *clip)
{
int line0, line1, line;
int chars, offset, text_y_offset, text_y_offset_baseline;