summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/SDLMain.m
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-09-24 12:01:47 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-09-24 12:01:47 +0200
commit37b2b5d08124d244e9796f7ef95d80cee0967bf2 (patch)
tree9e1d5b50c14df52939e3077f95a71173431bd2bd /crawl-ref/source/SDLMain.m
parent3b6840349b6acba451d12d40df4cda75805960a4 (diff)
downloadcrawl-ref-37b2b5d08124d244e9796f7ef95d80cee0967bf2.tar.gz
crawl-ref-37b2b5d08124d244e9796f7ef95d80cee0967bf2.zip
Purge tabs from the Cocoa stuff.
Diffstat (limited to 'crawl-ref/source/SDLMain.m')
-rw-r--r--crawl-ref/source/SDLMain.m14
1 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/SDLMain.m b/crawl-ref/source/SDLMain.m
index 658c817619..c4ba57f164 100644
--- a/crawl-ref/source/SDLMain.m
+++ b/crawl-ref/source/SDLMain.m
@@ -18,10 +18,10 @@
@end
/* Use this flag to determine whether we use SDLMain.nib or not */
-#define SDL_USE_NIB_FILE 0
+#define SDL_USE_NIB_FILE 0
/* Use this flag to determine whether we use CPS (docking) or not */
-#define SDL_USE_CPS 1
+#define SDL_USE_CPS 1
#ifdef SDL_USE_CPS
/* Portions of CPS.h */
typedef struct CPSProcessSerNum
@@ -30,9 +30,9 @@ typedef struct CPSProcessSerNum
UInt32 hi;
} CPSProcessSerNum;
-extern OSErr CPSGetCurrentProcess( CPSProcessSerNum *psn);
-extern OSErr CPSEnableForegroundOperation( CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5);
-extern OSErr CPSSetFrontProcess( CPSProcessSerNum *psn);
+extern OSErr CPSGetCurrentProcess( CPSProcessSerNum *psn);
+extern OSErr CPSEnableForegroundOperation( CPSProcessSerNum *psn, UInt32 _arg2, UInt32 _arg3, UInt32 _arg4, UInt32 _arg5);
+extern OSErr CPSSetFrontProcess( CPSProcessSerNum *psn);
#endif /* SDL_USE_CPS */
@@ -200,8 +200,8 @@ static void setupWindowMenu(void)
/* Replacement for NSApplicationMain */
static void CustomApplicationMain (int argc, char **argv)
{
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
- SDLMain *sdlMain;
+ NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+ SDLMain *sdlMain;
/* Ensure the application object is initialised */
[SDLApplication sharedApplication];