From 8c9ffc1161c20200f58d88896456632d81b084a4 Mon Sep 17 00:00:00 2001 From: ritsuka Date: Sat, 30 May 2015 07:49:16 +0000 Subject: MacGui: cast the value of UsesPictureFilters to bool so the dictionary will use a bool to represent it internally, and hb_presets_clean_json() won't complain. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7246 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBAddPresetController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/HBAddPresetController.m b/macosx/HBAddPresetController.m index ac3ea4829..5720bfd84 100644 --- a/macosx/HBAddPresetController.m +++ b/macosx/HBAddPresetController.m @@ -118,7 +118,7 @@ dict[@"UsesPictureSettings"] = @(self.picSettingsPopUp.selectedItem.tag); // Get whether or not to use the current Picture Filter settings for the preset - dict[@"UsesPictureFilters"] = @(self.picFilters.state); + dict[@"UsesPictureFilters"] = @((BOOL) self.picFilters.state); self.preset.content = [dict copy]; -- cgit v1.2.3