diff options
author | ritsuka <[email protected]> | 2015-05-30 07:49:16 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-05-30 07:49:16 +0000 |
commit | 8c9ffc1161c20200f58d88896456632d81b084a4 (patch) | |
tree | 98f64af710b1785b9d75f48ffb485384cebcd88b /macosx/HBAddPresetController.m | |
parent | 39eff9d080effd0138c91f397632d24b38f7a441 (diff) |
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
Diffstat (limited to 'macosx/HBAddPresetController.m')
-rw-r--r-- | macosx/HBAddPresetController.m | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |