summary refs log tree commit diff stats
path: root/src/fe-gtk/fe-gtk.c
diff options
context:
space:
mode:
authorRichardHitt <rbh00@netcom.com>2013-01-02 14:50:26 -0800
committerRichardHitt <rbh00@netcom.com>2013-01-02 14:50:26 -0800
commit4af624627eafdd5db9e0200bfd05c59aa60292b9 (patch)
tree602d296c8e34a36396979ea0b82cb7bb471af7da /src/fe-gtk/fe-gtk.c
parent7f2846a5bddbfaf78e99b303db4c9152460bb4d3 (diff)
overhauling of URL detection, including channel, nick, etc 'words'
Diffstat (limited to 'src/fe-gtk/fe-gtk.c')
-rw-r--r--src/fe-gtk/fe-gtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c
index 57ffa2f6..204b7570 100644
--- a/src/fe-gtk/fe-gtk.c
+++ b/src/fe-gtk/fe-gtk.c
@@ -1058,7 +1058,7 @@ static void
 fe_open_url_locale (const char *url)
 {
 	/* the http:// part's missing, prepend it, otherwise it won't always work */
-	if (strchr (url, ':') == NULL && url_check_word (url, strlen (url)) != WORD_PATH)
+	if (strchr (url, ':') == NULL && url_check_word (url) != WORD_PATH)
 	{
 		url = g_strdup_printf ("http://%s", url);
 		fe_open_url_inner (url);