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];
|
[NSApp finishLaunching];
|
||||||
NSDictionary *appDefaults = [[NSDictionary alloc] initWithObjectsAndKeys:
|
NSDictionary *appDefaults = [[NSDictionary alloc] initWithObjectsAndKeys:
|
||||||
NO, @"AppleMomentumScrollSupported",
|
[NSNumber numberWithBool:NO], @"AppleMomentumScrollSupported",
|
||||||
NO, @"ApplePressAndHoldEnabled"];
|
[NSNumber numberWithBool:NO], @"ApplePressAndHoldEnabled",
|
||||||
|
nil];
|
||||||
[[NSUserDefaults standardUserDefaults] registerDefaults:appDefaults];
|
[[NSUserDefaults standardUserDefaults] registerDefaults:appDefaults];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user