mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
A few more string fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13180 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8275cd6629
commit
e7affc80ba
4 changed files with 12 additions and 8 deletions
|
@ -1264,8 +1264,8 @@ lossyCString_u(ivars self)
|
|||
unsigned l = 0;
|
||||
unsigned char *r = 0;
|
||||
|
||||
GSFromUnicode(&r, &l, self->_contents.u, self->_count, defEnc, 0,
|
||||
GSUniTemporary|GSUniTerminate);
|
||||
GSFromUnicode(&r, &l, self->_contents.u, self->_count, defEnc,
|
||||
NSDefaultMallocZone(), GSUniTemporary|GSUniTerminate);
|
||||
return (const char*)r;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue