small cleanup

This commit is contained in:
Mitchell Livingston
2006-08-06 23:42:56 +00:00
parent 9c182359e6
commit d5011bfe74
+2 -4
View File
@@ -252,8 +252,7 @@
- (void) setForActive: (NSNotification *) notification
{
NSWindow * window;
if (!(window = [notification object]) || window != [self window])
if ([notification object] != [self window])
return;
if ([self image] == fButtonSelectedDim)
@@ -267,8 +266,7 @@
- (void) setForInactive: (NSNotification *) notification
{
NSWindow * window;
if (!(window = [notification object]) || window != [self window])
if ([notification object] != [self window])
return;
[self setImage: [self image] == fButtonSelected ? fButtonSelectedDim : fButtonNormalDim];