]> granicus.if.org Git - handbrake/commitdiff
MacGui: fix built in presets update on earlier os x versions. The dot is not needed...
authorritsuka <damiog@gmail.com>
Fri, 1 May 2015 07:38:01 +0000 (07:38 +0000)
committerritsuka <damiog@gmail.com>
Fri, 1 May 2015 07:38:01 +0000 (07:38 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7142 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/HBPresetsManager.m

index 5587d0c4a67a28030848622bdb39ccf05e1c5744..2420e5acb798064599f10cceca0517d598f0dc61 100644 (file)
@@ -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)