diff options
author | dynaflash <[email protected]> | 2009-05-26 17:13:02 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2009-05-26 17:13:02 +0000 |
commit | 5172463301d64c13c3903d93f7bfaaa777538fc9 (patch) | |
tree | b04d1aab23a26e38e04fd53f997c0f84c3396b6e | |
parent | 3179236b13ea6d1627157a4943625095998f98e6 (diff) |
MacGui: Store the PresetBuildNumber value as an int instead of a string in the presets plist.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2452 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | macosx/Controller.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 339945b83..49e023c5d 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -7099,7 +7099,7 @@ return YES; if ([[tempObject objectForKey:@"Type"] intValue] == 0) // Type 0 is a built in preset { /* Preset build number */ - [[UserPresets objectAtIndex:i] setObject:[NSString stringWithFormat: @"%d", [[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"] intValue]] forKey:@"PresetBuildNumber"]; + [[UserPresets objectAtIndex:i] setObject:[NSNumber numberWithInt:[[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"] intValue]] forKey:@"PresetBuildNumber"]; } i++; } |