Small bugfix in rewrite of property list stuff

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9908 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2001-05-09 08:19:35 +00:00
parent 71b86c4cb0
commit e1bdc53e46
2 changed files with 3 additions and 1 deletions

View file

@ -2,6 +2,8 @@
* Tools/gdomap.c: Fixes to last modifications - provided by
Chris B Vetter.
* Source/NSString.m: Fix memory allocation of a unichar buffer to
correct size.
2001-05-04 Nicola Pero <n.pero@mi.flashnet.it>

View file

@ -3118,7 +3118,7 @@ handle_printf_atsign (FILE *stream,
}
else
{
ustring = NSZoneMalloc(NSDefaultMallocZone(), length);
ustring = NSZoneMalloc(NSDefaultMallocZone(), length*sizeof(unichar));
}
end = &ustring[length];
[self getCharacters: ustring];