Skip to content

Commit

Permalink
Merge pull request #13 from Serahug/master
Browse files Browse the repository at this point in the history
Compilation error with ARC
  • Loading branch information
indragiek committed Apr 30, 2013
2 parents c939b2d + b7b3113 commit e6f8eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion INPopoverController.m
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ - (void)recalculateAndResetArrowDirection
- (IBAction)closePopover:(id)sender
{
if (![_popoverWindow isVisible]) { return; }
if ([sender isKindOfClass:[NSNotification class]] && [[sender name] isEqualToString:NSWindowDidResignKeyNotification]) {
if ([sender isKindOfClass:[NSNotification class]] && [[(NSNotification*)sender name] isEqualToString:NSWindowDidResignKeyNotification]) {
// ignore "resign key" notification sent when app becomes inactive unless closesWhenApplicationBecomesInactive is enabled
if (!self.closesWhenApplicationBecomesInactive && ![NSApp isActive])
return;
Expand Down

0 comments on commit e6f8eca

Please sign in to comment.