From 4f4875e27dbbb6be1332e298bd377224ca9d88f7 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Mon, 15 Oct 2018 21:41:27 +0200 Subject: [PATCH] hyperlinks: only highlight links with same url and id. Closes T6329 --- src/bin/termpty.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/termpty.h b/src/bin/termpty.h index 70991a32..5017a595 100644 --- a/src/bin/termpty.h +++ b/src/bin/termpty.h @@ -356,7 +356,7 @@ term_link_eq(Termpty *ty, Term_Link *hl, uint16_t link_id) if (!hl->key || !hl2->key || strcmp(hl->key, hl2->key) != 0) return EINA_FALSE; - return EINA_TRUE; + return (strcmp(hl->url, hl2->url) == 0); } static inline void