mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 19:11:09 +00:00
Do not copy deeply ivars when copying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8307 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5fee1bbe00
commit
cadf24988f
1 changed files with 2 additions and 2 deletions
|
@ -107,8 +107,8 @@ static NSColor *txtCol;
|
||||||
{
|
{
|
||||||
NSTextFieldCell *c = [super copyWithZone: zone];
|
NSTextFieldCell *c = [super copyWithZone: zone];
|
||||||
|
|
||||||
c->_background_color = [_background_color copyWithZone: zone];
|
RETAIN (_background_color);
|
||||||
c->_text_color = [_text_color copyWithZone: zone];
|
RETAIN (_text_color);
|
||||||
|
|
||||||
return c;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue