1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

small cleanup

This commit is contained in:
Mitchell Livingston 2006-08-06 23:42:56 +00:00
parent 9c182359e6
commit d5011bfe74

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];