summaryrefslogtreecommitdiff
path: root/delegateuitask_darwin.m
diff options
context:
space:
mode:
Diffstat (limited to 'delegateuitask_darwin.m')
-rw-r--r--delegateuitask_darwin.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/delegateuitask_darwin.m b/delegateuitask_darwin.m
index d2e6f4f..6cf886d 100644
--- a/delegateuitask_darwin.m
+++ b/delegateuitask_darwin.m
@@ -108,8 +108,9 @@ extern NSRect dummyRect;
return NSTerminateCancel;
}
-- (void)alertDidEnd:(NSAlert *)alert returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo
+- (void)alertDidEnd:(NSAlert *)alert returnCode:(NSInteger)returnCode contextInfo:(void *)chan
{
+ dialog_send(chan, (uintptr_t) returnCode);
}
@end