Fixed: change == to === on CPTextField when assigning a delegateo

This commit is contained in:
Alexandre Wilhelm committed 2014-11-28 10:00:27 -08:00
1 parent 30413e6f8f
commit 56acbfc85c
1 file changed
+1 -1
+1 -1
View File
@@ -1751,7 +1751,7 @@ CPTextFieldStatePlaceholder = CPThemeState("placeholder");
- (void)setDelegate:(id <CPTextFieldDelegate>)aDelegate
{
if (_delegate == aDelegate)
if (_delegate === aDelegate)
return;
_delegate = aDelegate;