diff options
author | ritsuka <[email protected]> | 2015-05-01 07:38:01 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-05-01 07:38:01 +0000 |
commit | 3e30a6ef3a449ac4cadb60fa738cc58f974c1794 (patch) | |
tree | d36f83c295f7dd4f8991a0825def4607f39d9544 /macosx | |
parent | cfa581358236771076493b1e4c236ddf689af558 (diff) |
MacGui: fix built in presets update on earlier os x versions. The dot is not needed in the extension, it worked anyway on 10.10 but not un earlier versions.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7142 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBPresetsManager.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBPresetsManager.m b/macosx/HBPresetsManager.m index 5587d0c4a..2420e5acb 100644 --- a/macosx/HBPresetsManager.m +++ b/macosx/HBPresetsManager.m @@ -342,7 +342,7 @@ NSString *HBPresetsChangedNotification = @"HBPresetsChangedNotification"; [self deleteBuiltInPresets]; // Load the built-in presets from the app bundle Resources folder. - NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"presets" withExtension:@".plist"]; + NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"presets" withExtension:@"plist"]; NSArray *presetsArray = [[NSArray alloc] initWithContentsOfURL:fileURL]; for (NSDictionary *child in presetsArray.reverseObjectEnumerator) |