diff options
author | Hiro <Hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-06-08 07:38:31 +0000 |
---|---|---|
committer | Hiro <Hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-06-08 07:38:31 +0000 |
commit | 8f1e864530d24d198a3891a6e1c4d17b031083c2 (patch) | |
tree | b1226c1f7cd5c0b84b7c897b411b0626ab740263 /src/textview.c | |
parent | ce48e04ddd1b694c599f4f5543597abb89bbead1 (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.c | 2 |
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 |