mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8020 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
031c68cfcb
commit
73e1f79993
1 changed files with 2 additions and 2 deletions
|
@ -306,7 +306,7 @@ setup()
|
||||||
length*sizeof(unichar), GSObjCZone(self));
|
length*sizeof(unichar), GSObjCZone(self));
|
||||||
me->_contents.u = (unichar*)&((GSUnicodeInlineString*)me)[1];
|
me->_contents.u = (unichar*)&((GSUnicodeInlineString*)me)[1];
|
||||||
me->_count = length;
|
me->_count = length;
|
||||||
me->_flags.wide = 0;
|
me->_flags.wide = 1;
|
||||||
memcpy(me->_contents.u, chars, length*sizeof(unichar));
|
memcpy(me->_contents.u, chars, length*sizeof(unichar));
|
||||||
return (id)me;
|
return (id)me;
|
||||||
}
|
}
|
||||||
|
@ -323,7 +323,7 @@ setup()
|
||||||
me = (ivars)NSAllocateObject(GSUnicodeStringClass, 0, GSObjCZone(self));
|
me = (ivars)NSAllocateObject(GSUnicodeStringClass, 0, GSObjCZone(self));
|
||||||
me->_contents.u = chars;
|
me->_contents.u = chars;
|
||||||
me->_count = length;
|
me->_count = length;
|
||||||
me->_flags.wide = 0;
|
me->_flags.wide = 1;
|
||||||
if (flag == YES)
|
if (flag == YES)
|
||||||
me->_flags.free = 1;
|
me->_flags.free = 1;
|
||||||
return (id)me;
|
return (id)me;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue