diff options
| -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()); | 
