mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 20:50:38 +00:00
Fix copyWithZone:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2917 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
32acf03f3f
commit
b8c4dc4964
2 changed files with 9 additions and 1 deletions
|
@ -776,7 +776,9 @@
|
|||
|
||||
- (id)copyWithZone:(NSZone*)zone
|
||||
{
|
||||
NSCell* c = NSAllocateObject (isa, 0, zone);
|
||||
NSCell* c;
|
||||
|
||||
c = [[isa allocWithZone: zone] init];
|
||||
|
||||
[c setStringValue:contents];
|
||||
[c setImage:cell_image];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue