Skip to content

Commit

Permalink
Fixed dictionary initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Mar 2, 2014
1 parent 0f9bb0c commit da32423
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/video/cocoa/SDL_cocoaevents.m
Expand Up @@ -272,8 +272,9 @@ - (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filenam
}
[NSApp finishLaunching];
NSDictionary *appDefaults = [[NSDictionary alloc] initWithObjectsAndKeys:
NO, @"AppleMomentumScrollSupported",
NO, @"ApplePressAndHoldEnabled"];
[NSNumber numberWithBool:NO], @"AppleMomentumScrollSupported",
[NSNumber numberWithBool:NO], @"ApplePressAndHoldEnabled",
nil];
[[NSUserDefaults standardUserDefaults] registerDefaults:appDefaults];

}
Expand Down

0 comments on commit da32423

Please sign in to comment.