* GSWeb.framework/GSWElementIDString.m ([NSMutableString

-parentElementIDString]): create a mutableCopy instead of a copy of the string.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@7986 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Mirko Viviani 2000-11-01 20:56:19 +00:00
parent d0ba853769
commit 85340d3574
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2000-11-01 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* GSWeb.framework/GSWElementIDString.m ([NSMutableString
-parentElementIDString]): create a mutableCopy instead of a copy of
the string.
2000-11-01 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWeb.framework/GSWTemplateParserXML.m: remove setExternalEntityLoader: call

View file

@ -136,7 +136,7 @@ static char rcsId[] = "$Id$";
//NDFN
-(NSString*)parentElementIDString
{
GSWElementIDString* _id=[[self copy] autorelease];
GSWElementIDString* _id=[[self mutableCopy] autorelease];
if ([self length]>0)
[_id deleteLastElementIDComponent];
return _id;