summaryrefslogtreecommitdiffstats
path: root/macosx/HBPresetsManager.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-05-01 07:38:01 +0000
committerritsuka <[email protected]>2015-05-01 07:38:01 +0000
commit3e30a6ef3a449ac4cadb60fa738cc58f974c1794 (patch)
treed36f83c295f7dd4f8991a0825def4607f39d9544 /macosx/HBPresetsManager.m
parentcfa581358236771076493b1e4c236ddf689af558 (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/HBPresetsManager.m')
-rw-r--r--macosx/HBPresetsManager.m2
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)