* Source/NSBitmapImageRep.m (-copyWithZone:) Deep copy ivar _properties.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38217 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2014-11-30 20:45:29 +00:00
parent ffe06259ba
commit d56182771b
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2014-11-30 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBitmapImageRep.m (-copyWithZone:) Deep copy ivar _properties.
2014-11-16 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSBrowser.h,

View file

@ -1761,6 +1761,7 @@ _set_bit_value(unsigned char *base, long msb_off, int bit_width,
copy = (NSBitmapImageRep*)[super copyWithZone: zone];
copy->_properties = [_properties copyWithZone: zone];
copy->_imageData = [_imageData copyWithZone: zone];
copy->_imagePlanes = NSZoneMalloc(zone, sizeof(unsigned char*) * MAX_PLANES);
if (_imageData == nil)