diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-29 10:45:46 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-29 10:45:46 -0400 |
| commit | 580b06638fb8b59617c93a180cb8808623fb4521 (patch) | |
| tree | 00fe50731bef4b60b0178e19e1a3e78ab0ed7ec2 /delegateuitask_darwin.m | |
| parent | bc50405364ac907e465a37ccf1de4060a07d710d (diff) | |
More of the same conversion.
Diffstat (limited to 'delegateuitask_darwin.m')
| -rw-r--r-- | delegateuitask_darwin.m | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/delegateuitask_darwin.m b/delegateuitask_darwin.m index 84be5be..e30ebc2 100644 --- a/delegateuitask_darwin.m +++ b/delegateuitask_darwin.m @@ -92,9 +92,11 @@ extern NSRect dummyRect; return NSTerminateNow; } -- (void)alertDidEnd:(NSAlert *)alert returnCode:(NSInteger)returnCode contextInfo:(void *)chan +- (void)alertDidEnd:(NSAlert *)alert returnCode:(NSInteger)returnCode contextInfo:(void *)data { - dialog_send(chan, (uintptr_t) returnCode); + NSInteger *ret = (NSInteger *) data; + + *ret = returnCode; } @end |
