summaryrefslogtreecommitdiff
path: root/delegateuitask_darwin.m
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-08 12:36:55 -0400
committerPietro Gagliardi <[email protected]>2014-06-08 12:36:55 -0400
commitb172ab2e37896d36292660f6cc15987fb88ddf57 (patch)
treed00035f9d8b26941ac6913468135d2f34f57fe83 /delegateuitask_darwin.m
parent10f55564d0770ca5d5803026f6c3190c3b2fdd69 (diff)
Added new MsgBox() behavior on Mac OS X. Now we can finally remove MsgBox() from the TODOs! :D
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