--- a/hedgewars/sdlmain/SDLMain.m Tue Jan 21 22:38:13 2014 +0100
+++ b/hedgewars/sdlmain/SDLMain.m Tue Jan 21 22:43:06 2014 +0100
@@ -18,21 +18,21 @@
@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
{
- UInt32 lo;
- UInt32 hi;
+ UInt32 lo;
+ 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 */
@@ -198,8 +198,8 @@
/* 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];