mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix errors in backwards compatibility code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8044 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
324f4f6778
commit
9c6d161077
1 changed files with 4 additions and 4 deletions
|
@ -2928,7 +2928,7 @@ transmute(ivars self, NSString *aString)
|
|||
unsigned count;
|
||||
|
||||
RELEASE(self);
|
||||
self = [GSCString alloc];
|
||||
self = (id)NSAllocateObject(GSCStringClass, 0, GSObjCZone(self));
|
||||
[aCoder decodeValueOfObjCType: @encode(unsigned) at: &count];
|
||||
if (count > 0)
|
||||
{
|
||||
|
@ -2958,7 +2958,7 @@ transmute(ivars self, NSString *aString)
|
|||
unsigned count;
|
||||
|
||||
RELEASE(self);
|
||||
self = [GSMutableString alloc];
|
||||
self = (id)NSAllocateObject(GSMutableStringClass, 0, GSObjCZone(self));
|
||||
[aCoder decodeValueOfObjCType: @encode(unsigned) at: &count];
|
||||
if (count > 0)
|
||||
{
|
||||
|
@ -2988,7 +2988,7 @@ transmute(ivars self, NSString *aString)
|
|||
unsigned count;
|
||||
|
||||
RELEASE(self);
|
||||
self = [GSUnicodeString alloc];
|
||||
self = (id)NSAllocateObject(GSUnicodeStringClass, 0, GSObjCZone(self));
|
||||
[aCoder decodeValueOfObjCType: @encode(unsigned) at: &count];
|
||||
if (count > 0)
|
||||
{
|
||||
|
@ -3018,7 +3018,7 @@ transmute(ivars self, NSString *aString)
|
|||
unsigned count;
|
||||
|
||||
RELEASE(self);
|
||||
self = [GSMutableString alloc];
|
||||
self = (id)NSAllocateObject(GSMutableStringClass, 0, GSObjCZone(self));
|
||||
[aCoder decodeValueOfObjCType: @encode(unsigned) at: &count];
|
||||
if (count > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue