From: Matze B. <mat...@us...> - 2002-04-01 00:44:32
|
Update of /cvsroot/planeshift/planeshift/src/common/rpgrules In directory usw-pr-cvs1:/tmp/cvs-serv30235 Modified Files: psrpginfo.cpp Log Message: fixed another small memory bug Index: psrpginfo.cpp =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/common/rpgrules/psrpginfo.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** psrpginfo.cpp 29 Mar 2002 05:58:23 -0000 1.8 --- psrpginfo.cpp 1 Apr 2002 00:44:29 -0000 1.9 *************** *** 259,269 **** } - tagStart = str.FindTag("info"); ! psXMLTag tag(str, tagStart); ! ! xmlString tmp; ! tag.GetTagParm("info", tmp); ! info = tmp; } --- 259,270 ---- } tagStart = str.FindTag("info"); ! if (tagStart != -1) ! { ! psXMLTag tag(str, tagStart); ! xmlString tmp; ! tag.GetTagParm("info", tmp); ! info = tmp; ! } } |