mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-21 04:32:03 +00:00
fix bug #28939
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29694 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dd42cc24ba
commit
76debb89f3
2 changed files with 6 additions and 1 deletions
|
@ -1667,7 +1667,7 @@ getCString_c(GSStr self, char *buffer, unsigned int maxLength,
|
|||
o->_flags.hash = 0;
|
||||
o->_capacity = self->_count;
|
||||
o->_contents.c = self->_contents.c;
|
||||
o->_zone = 0;
|
||||
o->_zone = NSDefaultMallocZone();
|
||||
GSStrWiden(o);
|
||||
getCString_u(o, buffer, maxLength, aRange, leftoverRange);
|
||||
if (o->_flags.owned == 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue