summaryrefslogtreecommitdiff
path: root/ide-document-link.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-09-07 15:18:45 -0400
committerpommicket <pommicket@gmail.com>2023-09-07 22:49:53 -0400
commit5cad1bee9b72610d9d97b5f97e7f1a245a2d2ba5 (patch)
tree5ee6f155f6900be4eeec07ad33417d2d9992a80f /ide-document-link.c
parent815d652b570f53c989f62d0c7db847d7d6dfd940 (diff)
more diagnostics
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;
}
}