Skip to content

Commit

Permalink
(Fmac_resume_apple_event): Distribute cast to pointer
Browse files Browse the repository at this point in the history
over conditional branches.
  • Loading branch information
mituharu committed Aug 29, 2008
1 parent b2967f5 commit 9d649a5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/macselect.c
Expand Up @@ -1041,10 +1041,9 @@ nil, which means the event is already resumed or expired. */)
}
AESetTheCurrentEvent (&ae->apple_event);
AEResumeTheCurrentEvent (&ae->apple_event, &ae->reply,
((AEEventHandlerUPP)
(EQ (error_code, Qt) ?
kAEUseStandardDispatch : kAENoDispatch)),
0);
(EQ (error_code, Qt)
? (AEEventHandlerUPP) kAEUseStandardDispatch
: (AEEventHandlerUPP) kAENoDispatch), 0);
AEDisposeDesc (&ae->reply);
AEDisposeDesc (&ae->apple_event);
xfree (ae);
Expand Down

0 comments on commit 9d649a5

Please sign in to comment.