Permalink
Browse files

Refs #1572. Fixed: CPPushInCellMask in showsStateBy.

Code didn't match comment.
  • Loading branch information...
1 parent 10fcc0c commit f5c201c0bef9ca331ed7de5733540e0ab29316b2 @aljungberg aljungberg committed Jun 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 AppKit/CPButton.j
View
@@ -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;

0 comments on commit f5c201c

Please sign in to comment.