From: ritsuka Date: Fri, 1 May 2015 07:38:01 +0000 (+0000) Subject: MacGui: fix built in presets update on earlier os x versions. The dot is not needed... X-Git-Tag: 1.0.0~1211 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e30a6ef3a449ac4cadb60fa738cc58f974c1794;p=handbrake 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 --- 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)