Permalink
Browse files

fix for arc

  • Loading branch information...
1 parent 8e57419 commit e082e56d9767fb4508341549cccb939e00e7e52a @marcosanson committed Oct 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 KGNoise.m
View
@@ -160,7 +160,7 @@ - (void) setGradienColorInternal:(NSColor *)gradienColorInternal
#endif
{
if (_gradienColorInternal != gradienColorInternal) {
- _gradienColorInternal = gradienColorInternal;
+ _gradienColorInternal = [gradienColorInternal copy];
#if TARGET_OS_IPHONE
[self setNeedsDisplay];
#else
@@ -176,7 +176,7 @@ - (void) setGradienColorExternal:(NSColor *)gradienColorExternal
#endif
{
if (_gradienColorExternal != gradienColorExternal) {
- _gradienColorExternal = gradienColorExternal;
+ _gradienColorExternal = [gradienColorExternal copy];
#if TARGET_OS_IPHONE
[self setNeedsDisplay];
#else

0 comments on commit e082e56

Please sign in to comment.