summaryrefslogtreecommitdiff
path: root/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.c')
-rw-r--r--buffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/buffer.c b/buffer.c
index 7c0e481..549a99e 100644
--- a/buffer.c
+++ b/buffer.c
@@ -3374,7 +3374,8 @@ void buffer_render(TextBuffer *buffer, Rect r) {
hover_diagnostic = diagnostic;
if (diagnostic->url && ted_clicked_in_rect(ted, rect))
open_with_default_application(diagnostic->url);
- ted->cursor = ted->cursor_hand;
+ if (diagnostic->url)
+ ted->cursor = ted->cursor_hand;
}
}
// set color