aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks')
-rw-r--r--Frameworks/BWToolkitFramework.framework/BWAnchoredButtonCell.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/Frameworks/BWToolkitFramework.framework/BWAnchoredButtonCell.m b/Frameworks/BWToolkitFramework.framework/BWAnchoredButtonCell.m
index b8bae016..74bc1a71 100644
--- a/Frameworks/BWToolkitFramework.framework/BWAnchoredButtonCell.m
+++ b/Frameworks/BWToolkitFramework.framework/BWAnchoredButtonCell.m
@@ -161,8 +161,9 @@ static float scaleFactor = 1.0f;
{
NSImage *image;
- image = ([self state] == NSOffState ? [self image] : [self alternateImage]);
-
+ image = ([self state] == NSOffState || [self alternateImage] == nil ? [self image] : [self alternateImage]);
+
+
if (image != nil)
{
[image setScalesWhenResized:NO];