mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-09 16:12:52 +00:00
Fixed dictionary initialization
This commit is contained in:
@@ -272,8 +272,9 @@ Cocoa_RegisterApp(void)
|
||||
}
|
||||
[NSApp finishLaunching];
|
||||
NSDictionary *appDefaults = [[NSDictionary alloc] initWithObjectsAndKeys:
|
||||
NO, @"AppleMomentumScrollSupported",
|
||||
NO, @"ApplePressAndHoldEnabled"];
|
||||
[NSNumber numberWithBool:NO], @"AppleMomentumScrollSupported",
|
||||
[NSNumber numberWithBool:NO], @"ApplePressAndHoldEnabled",
|
||||
nil];
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:appDefaults];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user