Mercurial > pidgin
comparison src/protocols/yahoo/yahoo_profile.c @ 11920:52f27ffe68a5
[gaim-migrate @ 14211]
sf patch #1339035, from Sadrul Habib Chowdhury
"Remove the \n in Yahoo! status messages when showing them in the buddy
list inline."
Also some changes from me. I changed gaim_str_strip_cr(char *text) to
gaim_str_strip_char(char *text, char thechar). I don't know why, really,
but it seems like it could be more useful this way. Eh
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 31 Oct 2005 04:27:06 +0000 |
parents | f4e58e94ced3 |
children | df93ed932b3a |
comparison
equal
deleted
inserted
replaced
11919:51832ad72a6b | 11920:52f27ffe68a5 |
---|---|
859 url_buffer[strlen(url_buffer) - 6] = '\0'; | 859 url_buffer[strlen(url_buffer) - 6] = '\0'; |
860 } | 860 } |
861 #endif | 861 #endif |
862 | 862 |
863 /* nuke the nasty \r's */ | 863 /* nuke the nasty \r's */ |
864 gaim_str_strip_cr(url_buffer); | 864 gaim_str_strip_char(url_buffer, '\r'); |
865 | 865 |
866 #if PHOTO_SUPPORT | 866 #if PHOTO_SUPPORT |
867 /* Marshall the existing state */ | 867 /* Marshall the existing state */ |
868 info2_data = g_malloc(sizeof(YahooGetInfoStepTwoData)); | 868 info2_data = g_malloc(sizeof(YahooGetInfoStepTwoData)); |
869 info2_data->info_data = info_data; | 869 info2_data->info_data = info_data; |