From 8ce8a359c18578870bcbabdb10feb5902b424105 Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Tue, 18 Jun 2013 12:01:39 +0100 Subject: Now url_check_word() returns WORD_HOST6 when a ipv6 address is matched. --- src/common/url.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/common/url.h') diff --git a/src/common/url.h b/src/common/url.h index 96d9f946..2085c73e 100644 --- a/src/common/url.h +++ b/src/common/url.h @@ -26,7 +26,8 @@ extern void *url_tree; #define WORD_NICK 2 #define WORD_CHANNEL 3 #define WORD_HOST 4 -#define WORD_EMAIL 5 +#define WORD_HOST6 5 +#define WORD_EMAIL 6 /* anything >0 will be displayed as a link by gtk_xtext_motion_notify() */ #define WORD_DIALOG -1 #define WORD_PATH -2 -- cgit 1.4.1