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 abd5c75f1a
commit d8a4f1ea9d
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];
}