Mercurial > pidgin-twitter
changeset 273:add1e454b87f
fixed a breakage in 2f053c23ee50
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Fri, 12 Dec 2008 22:00:57 +0900 |
parents | 2f053c23ee50 |
children | 934c4b053247 |
files | icon.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/icon.c Fri Dec 12 21:36:38 2008 +0900 +++ b/icon.c Fri Dec 12 22:00:57 2008 +0900 @@ -229,8 +229,10 @@ g_match_info_free(match_info); } - /* find out extension */ + /* separate url into basename and the rest */ gchar *slash = strrchr(url, '/'); + *slash = '\0'; + gchar *lower = g_ascii_strdown(slash+1, -1); if(strstr(lower, ".png"))