aboutsummaryrefslogtreecommitdiff
path: root/src/textview.c
diff options
context:
space:
mode:
authorHiro <Hiro@ee746299-78ed-0310-b773-934348b2243d>2006-06-08 07:38:31 +0000
committerHiro <Hiro@ee746299-78ed-0310-b773-934348b2243d>2006-06-08 07:38:31 +0000
commit8f1e864530d24d198a3891a6e1c4d17b031083c2 (patch)
treeb1226c1f7cd5c0b84b7c897b411b0626ab740263 /src/textview.c
parentce48e04ddd1b694c599f4f5543597abb89bbead1 (diff)
fixed URI check on textview.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1079 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/textview.c')
-rw-r--r--src/textview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textview.c b/src/textview.c
index f4a12dcd..02114915 100644
--- a/src/textview.c
+++ b/src/textview.c
@@ -1187,7 +1187,7 @@ static void textview_write_link(TextView *textview, const gchar *str,
gtk_text_buffer_insert(buffer, &iter, buf, bufp - buf);
r_uri = g_new(RemoteURI, 1);
- r_uri->uri = g_strdup(uri);
+ r_uri->uri = g_strstrip(g_strdup(uri));
r_uri->filename = NULL;
r_uri->start = gtk_text_iter_get_offset(&iter);
gtk_text_buffer_insert_with_tags_by_name