diff options
author | Johannes Schickel | 2012-02-20 15:57:47 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-02-20 18:39:57 +0100 |
commit | 5cc3d754f72c640f905b535f662b742c8b3794dc (patch) | |
tree | f3e7550d2c7157ed6f555aa1b0d3b8538e5dc16e /backends/platform/iphone | |
parent | 6c4d65e53f2bd4d61043ed06fcdf61416405bf87 (diff) | |
download | scummvm-rg350-5cc3d754f72c640f905b535f662b742c8b3794dc.tar.gz scummvm-rg350-5cc3d754f72c640f905b535f662b742c8b3794dc.tar.bz2 scummvm-rg350-5cc3d754f72c640f905b535f662b742c8b3794dc.zip |
IPHONE: Even more slight formatting fixes.
Diffstat (limited to 'backends/platform/iphone')
-rw-r--r-- | backends/platform/iphone/iphone_main.m | 9 | ||||
-rw-r--r-- | backends/platform/iphone/osys_main.cpp | 1 |
2 files changed, 5 insertions, 5 deletions
diff --git a/backends/platform/iphone/iphone_main.m b/backends/platform/iphone/iphone_main.m index 1b555f849f..a72b2fd69d 100644 --- a/backends/platform/iphone/iphone_main.m +++ b/backends/platform/iphone/iphone_main.m @@ -84,18 +84,19 @@ int main(int argc, char **argv) { _window = [[UIWindow alloc] initWithFrame:rect]; [_window retain]; - _view = [[iPhoneView alloc] initWithFrame: rect]; + _view = [[iPhoneView alloc] initWithFrame:rect]; _view.multipleTouchEnabled = YES; - [_window setContentView: _view]; + [_window setContentView:_view]; [_window addSubview:_view]; [_window makeKeyAndVisible]; [[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications]; [[NSNotificationCenter defaultCenter] addObserver:self - selector:@selector(didRotate:) - name:@"UIDeviceOrientationDidChangeNotification" object:nil]; + selector:@selector(didRotate:) + name:@"UIDeviceOrientationDidChangeNotification" + object:nil]; [NSThread detachNewThreadSelector:@selector(mainLoop:) toTarget:self withObject:nil]; } diff --git a/backends/platform/iphone/osys_main.cpp b/backends/platform/iphone/osys_main.cpp index 3395ea6e56..36f21363be 100644 --- a/backends/platform/iphone/osys_main.cpp +++ b/backends/platform/iphone/osys_main.cpp @@ -250,7 +250,6 @@ Common::String OSystem_IPHONE::getDefaultConfigFileName() { #endif } - void OSystem_IPHONE::addSysArchivesToSearchSet(Common::SearchSet &s, int priority) { // Get URL of the Resource directory of the .app bundle CFURLRef fileUrl = CFBundleCopyResourcesDirectoryURL(CFBundleGetMainBundle()); |