From 3e30a6ef3a449ac4cadb60fa738cc58f974c1794 Mon Sep 17 00:00:00 2001 From: ritsuka Date: Fri, 1 May 2015 07:38:01 +0000 Subject: 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 --- macosx/HBPresetsManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macosx') 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) -- cgit v1.2.3