From: <rl...@us...> - 2006-05-29 17:54:33
|
Revision: 16202 Author: rlaager Date: 2006-05-29 10:53:50 -0700 (Mon, 29 May 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16202&view=rev Log Message: ----------- SF Patch #1496688 from coweater "Gaim wasn't removing carriage returns on a yahoo account's away message causing a rather large buddy list entry. The stripping was being done in the code for pre-gtk 2.6.0 but not newer versions. This patch adds that strip for the newer version too." Modified Paths: -------------- trunk/src/gtkblist.c Modified: trunk/src/gtkblist.c =================================================================== --- trunk/src/gtkblist.c 2006-05-29 17:18:17 UTC (rev 16201) +++ trunk/src/gtkblist.c 2006-05-29 17:53:50 UTC (rev 16202) @@ -2938,8 +2938,10 @@ g_free(tmp); } #else - if(tmp) + if(tmp) { g_strdelimit(tmp, "\n", ' '); + gaim_str_strip_char(tmp, '\r'); + } statustext = tmp; #endif } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |