From 8a1f2fe348bd542c81f7cd07e5e80054f738e5e7 Mon Sep 17 00:00:00 2001 From: kristianduske Date: Fri, 30 Dec 2011 08:56:14 +0000 Subject: [PATCH] Applied patch to remove poseAsClass call and fixed a compiler warning. git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@580 af15c1b1-3010-417e-b628-4374ebc0bcbd --- quakespasm/MacOSX/Info.plist | 2 +- quakespasm/MacOSX/SDLMain.m | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/quakespasm/MacOSX/Info.plist b/quakespasm/MacOSX/Info.plist index 52ef2035..1183b779 100644 --- a/quakespasm/MacOSX/Info.plist +++ b/quakespasm/MacOSX/Info.plist @@ -23,7 +23,7 @@ NSMainNibFile Launcher NSPrincipalClass - NSApplication + SDLApplication SUEnableAutomaticChecks SUFeedURL diff --git a/quakespasm/MacOSX/SDLMain.m b/quakespasm/MacOSX/SDLMain.m index 741f3c50..26ae1ca3 100644 --- a/quakespasm/MacOSX/SDLMain.m +++ b/quakespasm/MacOSX/SDLMain.m @@ -78,7 +78,6 @@ int main (int argc, char **argv) gFinderLaunch = NO; } - [SDLApplication poseAsClass:[NSApplication class]]; - NSApplicationMain (argc, argv); + NSApplicationMain (argc, (const char**) argv); return 0; }