From: <wel...@us...> - 2011-04-12 16:39:34
|
Revision: 7137 http://planeshift.svn.sourceforge.net/planeshift/?rev=7137&view=rev Author: weltall2 Date: 2011-04-12 16:39:28 +0000 (Tue, 12 Apr 2011) Log Message: ----------- fixed PS#5150 - Cannot clear a private note patch by zhan Modified Paths: -------------- trunk/src/client/gui/pawsguildwindow.cpp Modified: trunk/src/client/gui/pawsguildwindow.cpp =================================================================== --- trunk/src/client/gui/pawsguildwindow.cpp 2011-04-11 00:32:16 UTC (rev 7136) +++ trunk/src/client/gui/pawsguildwindow.cpp 2011-04-12 16:39:28 UTC (rev 7137) @@ -1097,11 +1097,12 @@ } else if (!strcmp(name,"PrivateNotes")) { - if (!value || !strlen(value)) + if (!value) return; + csString command; - csString command; csString escpxml = EscpXML(value); + command.Format("<n char_id=\"%i\" notes=\"%s\"/>", param, escpxml.GetData()); psGUIGuildMessage msg(psGUIGuildMessage::SET_MEMBER_PRIVATE_NOTES, command); msg.SendMessage(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |