Updated to build on Mac OS X 10.7 with Xcode 4.6

This commit is contained in:
Sam Lantinga committed 2014-03-02 12:58:00 -08:00
1 parent 5eccbac4b9
commit 0f9bb0cda6
2 files changed
+6 -7

No files matched your search

+3 -4
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];
}