From 24d40fa12d184ebd595344c5c1775d0175a2f4d1 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 7 Apr 2014 12:46:09 -0400 Subject: Fixed AppQuit on Mac OS X (forgot to set the NSApp delegate AND was using the wrong selector). --- bleh_darwin.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bleh_darwin.m') diff --git a/bleh_darwin.m b/bleh_darwin.m index 6094eeb..8653e74 100644 --- a/bleh_darwin.m +++ b/bleh_darwin.m @@ -336,7 +336,7 @@ void objc_setFont(id what, unsigned int csize) extern void appDelegate_applicationShouldTerminate(); -static NSApplicationTerminateReply __appDelegate_applicationShouldTerminate(id self, SEL sel) +static NSApplicationTerminateReply __appDelegate_applicationShouldTerminate(id self, SEL sel, id app) { appDelegate_applicationShouldTerminate(); return NSTerminateCancel; // don't quit -- cgit v1.2.3