summaryrefslogtreecommitdiff
path: root/desktop/textarea.c
diff options
context:
space:
mode:
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;