Updated to build on Mac OS X 10.7 with Xcode 4.6

This commit is contained in:
Sam Lantinga
2014-03-02 12:58:00 -08:00
parent 5eccbac4b9
commit 0f9bb0cda6
2 changed files with 6 additions and 7 deletions

View File

@@ -271,10 +271,9 @@ Cocoa_RegisterApp(void)
CreateApplicationMenus();
}
[NSApp finishLaunching];
NSDictionary *appDefaults = @{
@"AppleMomentumScrollSupported": @NO,
@"ApplePressAndHoldEnabled": @NO,
};
NSDictionary *appDefaults = [[NSDictionary alloc] initWithObjectsAndKeys:
NO, @"AppleMomentumScrollSupported",
NO, @"ApplePressAndHoldEnabled"];
[[NSUserDefaults standardUserDefaults] registerDefaults:appDefaults];
}