Fixed dictionary initialization
This commit is contained in:
1 parent
0f9bb0cda6
commit
da324233e2
1 file changed
+3
-2
@@ -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