From cadf24988f91bfdedaeec4e10ed912b1015095ff Mon Sep 17 00:00:00 2001 From: nico Date: Tue, 12 Dec 2000 17:12:16 +0000 Subject: [PATCH] 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 --- Source/NSTextFieldCell.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/NSTextFieldCell.m b/Source/NSTextFieldCell.m index 592f49d7f..3b3c6ed05 100644 --- a/Source/NSTextFieldCell.m +++ b/Source/NSTextFieldCell.m @@ -107,8 +107,8 @@ static NSColor *txtCol; { NSTextFieldCell *c = [super copyWithZone: zone]; - c->_background_color = [_background_color copyWithZone: zone]; - c->_text_color = [_text_color copyWithZone: zone]; + RETAIN (_background_color); + RETAIN (_text_color); return c; }