summaryrefslogtreecommitdiff
path: root/desktop/textarea.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/textarea.h')
-rw-r--r--desktop/textarea.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/textarea.h b/desktop/textarea.h
index 82c9c2a20..304b1ebfe 100644
--- a/desktop/textarea.h
+++ b/desktop/textarea.h
@@ -47,7 +47,7 @@ int textarea_get_text(struct text_area *ta, char *buf, unsigned int len);
bool textarea_set_caret(struct text_area *ta, int caret);
int textarea_get_caret(struct text_area *ta);
void textarea_redraw(struct text_area *ta, int x, int y,
- struct rect *clip);
+ const struct rect *clip);
bool textarea_keypress(struct text_area *ta, uint32_t key);
bool textarea_mouse_action(struct text_area *ta, browser_mouse_state mouse,
int x, int y);