diff options
author | Pierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk> | 2009-08-28 22:49:07 +0800 |
---|---|---|
committer | Pierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk> | 2009-08-29 01:02:16 +0800 |
commit | 74a34883df84726ad94359675f3c65a624619dc9 (patch) | |
tree | 835a0969941b42f5172ccbfed4a042099b430b9b /libempathy-gtk/empathy-theme-adium.c | |
parent | e388248780b01e51a5a1515cefc0240064620e74 (diff) | |
download | gsoc2013-empathy-74a34883df84726ad94359675f3c65a624619dc9.tar gsoc2013-empathy-74a34883df84726ad94359675f3c65a624619dc9.tar.gz gsoc2013-empathy-74a34883df84726ad94359675f3c65a624619dc9.tar.bz2 gsoc2013-empathy-74a34883df84726ad94359675f3c65a624619dc9.tar.lz gsoc2013-empathy-74a34883df84726ad94359675f3c65a624619dc9.tar.xz gsoc2013-empathy-74a34883df84726ad94359675f3c65a624619dc9.tar.zst gsoc2013-empathy-74a34883df84726ad94359675f3c65a624619dc9.zip |
Add empathy_make_absolute_url_len to limit the lenght of url string
Related to http://bugzilla.gnome.org/show_bug.cgi?id=593207
Diffstat (limited to 'libempathy-gtk/empathy-theme-adium.c')
-rw-r--r-- | libempathy-gtk/empathy-theme-adium.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index f557d07bb..d7fd01729 100644 --- a/libempathy-gtk/empathy-theme-adium.c +++ b/libempathy-gtk/empathy-theme-adium.c @@ -328,7 +328,7 @@ theme_adium_parse_body (EmpathyThemeAdium *theme, } /* Append the link inside <a href=""></a> tag */ - real_url = empathy_make_absolute_url (text + s); + real_url = empathy_make_absolute_url_len (text + s, e - s); g_string_append (string, "<a href=\""); g_string_append (string, real_url); |