mirror of https://github.com/encounter/SDL.git
Fixed dictionary initialization
This commit is contained in:
parent
0f9bb0cda6
commit
da324233e2
|
@ -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…
Reference in New Issue