summaryrefslogtreecommitdiff
path: root/ide-document-link.c
diff options
context:
space:
mode:
Diffstat (limited to 'ide-document-link.c')
-rw-r--r--ide-document-link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide-document-link.c b/ide-document-link.c
index 2d43807..71307b5 100644
--- a/ide-document-link.c
+++ b/ide-document-link.c
@@ -101,7 +101,7 @@ void document_link_frame(Ted *ted) {
arr_foreach_ptr(dl->links, DocumentLink, l) {
Rect r = document_link_get_rect(ted, l);
- if (rect_contains_point(r, ted->mouse_pos)) {
+ if (ted_mouse_in_rect(ted, r)) {
ted->cursor = ted->cursor_hand;
}
}