comparison pidgin-twitter.c @ 231:a93a85623a92

identi.ca tag requires '-' to be stripped as well.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 29 Sep 2008 12:25:29 +0900
parents 29c741b1b921
children 1c85aa4acb9d
comparison
equal deleted inserted replaced
230:a73dae7d8d78 231:a93a85623a92
953 g_free(match2); 953 g_free(match2);
954 } 954 }
955 else if(which == TAG_IDENTICA && service == identica_service) { 955 else if(which == TAG_IDENTICA && service == identica_service) {
956 gchar *match = g_match_info_fetch(match_info, 1); 956 gchar *match = g_match_info_fetch(match_info, 1);
957 gchar *link = g_ascii_strdown(match, -1); 957 gchar *link = g_ascii_strdown(match, -1);
958 purple_str_strip_char(link, '-');
958 purple_str_strip_char(link, '_'); 959 purple_str_strip_char(link, '_');
959 const gchar *format = TAG_FORMAT_IDENTICA; 960 const gchar *format = TAG_FORMAT_IDENTICA;
960 g_snprintf(sub, SUBST_BUF_SIZE, format, link, match); 961 g_snprintf(sub, SUBST_BUF_SIZE, format, link, match);
961 g_free(match); 962 g_free(match);
962 g_free(link); 963 g_free(link);