aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone/iphone_main.m
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/iphone/iphone_main.m')
-rw-r--r--backends/platform/iphone/iphone_main.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/iphone/iphone_main.m b/backends/platform/iphone/iphone_main.m
index 1cda168cd0..d8992de5bb 100644
--- a/backends/platform/iphone/iphone_main.m
+++ b/backends/platform/iphone/iphone_main.m
@@ -48,7 +48,7 @@ int main(int argc, char** argv) {
gArgc = argc;
gArgv = argv;
- NSAutoreleasePool *autoreleasePool = [
+ NSAutoreleasePool *autoreleasePool = [
[ NSAutoreleasePool alloc ] init
];
@@ -99,7 +99,7 @@ int main(int argc, char** argv) {
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(didRotate:)
name:@"UIDeviceOrientationDidChangeNotification" object:nil];
-
+
[NSThread detachNewThreadSelector:@selector(mainLoop:) toTarget:self withObject:nil];
}
@@ -111,7 +111,7 @@ int main(int argc, char** argv) {
- (void)applicationResume:(struct __GSEvent *)event {
[self removeApplicationBadge];
[_view applicationResume];
-
+
// Workaround, need to "hide" and unhide the statusbar to properly remove it,
// since the Springboard has put it back without apparently flagging our application.
[self setStatusBarHidden:YES animated:YES];