Now url_check_word() returns WORD_HOST6 when a ipv6 address is matched.

This commit is contained in:
Diogo Sousa
2013-06-18 12:01:39 +01:00
parent 55734baed8
commit 8ce8a359c1
2 changed files with 32 additions and 8 deletions

View File

@@ -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