comparison src/account.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 a25be0e70a67
children 0fab529c01fc
comparison
equal deleted inserted replaced
11919:51832ad72a6b 11920:52f27ffe68a5
336 xmlnode_insert_child(node, child); 336 xmlnode_insert_child(node, child);
337 } 337 }
338 338
339 if ((tmp = gaim_account_get_user_info(account)) != NULL) 339 if ((tmp = gaim_account_get_user_info(account)) != NULL)
340 { 340 {
341 /* TODO: Do we need to call gaim_str_strip_cr(tmp) here? */ 341 /* TODO: Do we need to call gaim_str_strip_char(tmp, '\r') here? */
342 child = xmlnode_new_child(node, "userinfo"); 342 child = xmlnode_new_child(node, "userinfo");
343 xmlnode_insert_data(child, tmp, -1); 343 xmlnode_insert_data(child, tmp, -1);
344 } 344 }
345 345
346 if ((tmp = gaim_account_get_buddy_icon(account)) != NULL) 346 if ((tmp = gaim_account_get_buddy_icon(account)) != NULL)