Fixed dictionary initialization
This commit is contained in:
parent
0f9bb0cda6
commit
da324233e2
1 changed files with 3 additions and 2 deletions
|
@ -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];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue