mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 09:41:15 +00:00
Set isa to correct class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14951 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4a1aab94a6
commit
b147e0b54c
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2002-11-07 02:21 Alexander Malmberg <alexander@malmberg.org>
|
||||||
|
|
||||||
|
* Source/GSString.m: (-makeImmutableCopyOnFail:): Set isa to correct
|
||||||
|
class.
|
||||||
|
|
||||||
2002-11-04 Richard Frith-Macdonald <rfm@gnu.org>
|
2002-11-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/NSArray.m: Ensured some documentation in place for almost all
|
* Source/NSArray.m: Ensured some documentation in place for almost all
|
||||||
|
|
|
@ -2922,7 +2922,10 @@ transmute(ivars self, NSString *aString)
|
||||||
|
|
||||||
- (id) makeImmutableCopyOnFail: (BOOL)force
|
- (id) makeImmutableCopyOnFail: (BOOL)force
|
||||||
{
|
{
|
||||||
isa = [GSString class];
|
if (_flags.wide == 1)
|
||||||
|
isa = [GSUnicodeString class];
|
||||||
|
else
|
||||||
|
isa = [GSCString class];
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue