From f5c201c0bef9ca331ed7de5733540e0ab29316b2 Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Mon, 25 Jun 2012 17:18:07 +0100 Subject: [PATCH] Refs #1572. Fixed: CPPushInCellMask in showsStateBy. Code didn't match comment. --- AppKit/CPButton.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPButton.j b/AppKit/CPButton.j index 0c9c39ecf..e70862cdf 100644 --- a/AppKit/CPButton.j +++ b/AppKit/CPButton.j @@ -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;