Refs #1572. Fixed: CPPushInCellMask in showsStateBy.

Code didn't match comment.
This commit is contained in:
Alexander Ljungberg
2012-06-25 17:18:07 +01:00
parent 10fcc0c452
commit f5c201c0be
+1 -1
View File
@@ -390,7 +390,7 @@ CPButtonImageOffset = 3.0;
- (void)setShowsStateBy:(CPInteger)aMask
{
// CPPushInCellMask cannot be set for showsStateBy.
aMask ^= CPPushInCellMask;
aMask &= ~CPPushInCellMask;
if (_showsStateBy === aMask)
return;