Skip to content
Browse files

What the hell? How did this code ever work?

  • Loading branch information...
1 parent 6eb3ef2 commit 4bd02c0614ce11a4136f24ea028a91a7175f6575 @schwa committed Jan 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 NSObject_KVOBlock.m
View
2 NSObject_KVOBlock.m
@@ -170,7 +170,7 @@ + (CKVOBlockHelper *)helperForObject:(id)inObject create:(BOOL)inCreate
CKVOBlockHelper *theHelper = objc_getAssociatedObject(inObject, &KVO);
if (theHelper == NULL && inCreate == YES)
{
- theHelper = [[CKVOBlockHelper alloc] initWithObject:self];
+ theHelper = [[CKVOBlockHelper alloc] initWithObject:inObject];
objc_setAssociatedObject(inObject, &KVO, theHelper, OBJC_ASSOCIATION_RETAIN);
}

0 comments on commit 4bd02c0

Please sign in to comment.
Something went wrong with that request. Please try again.