summaryrefslogtreecommitdiffstats
path: root/macosx/HBPicture.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBPicture.m')
-rw-r--r--macosx/HBPicture.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/HBPicture.m b/macosx/HBPicture.m
index 113a77142..177f6f416 100644
--- a/macosx/HBPicture.m
+++ b/macosx/HBPicture.m
@@ -743,19 +743,19 @@ fail:
if ([preset[@"PicturePAR"] isEqualToString:@"off"])
{
- self.anamorphicMode = HB_ANAMORPHIC_NONE;
+ self.anamorphicMode = (HBPictureAnarmophicMode)HB_ANAMORPHIC_NONE;
}
else if ([preset[@"PicturePAR"] isEqualToString:@"auto"])
{
- self.anamorphicMode = HB_ANAMORPHIC_AUTO;
+ self.anamorphicMode = (HBPictureAnarmophicMode)HB_ANAMORPHIC_AUTO;
}
else if ([preset[@"PicturePAR"] isEqualToString:@"custom"])
{
- self.anamorphicMode = HB_ANAMORPHIC_CUSTOM;
+ self.anamorphicMode = (HBPictureAnarmophicMode)HB_ANAMORPHIC_CUSTOM;
}
else
{
- self.anamorphicMode = HB_ANAMORPHIC_LOOSE;
+ self.anamorphicMode = (HBPictureAnarmophicMode)HB_ANAMORPHIC_LOOSE;
}
self.parWidth = [par[@"Num"] intValue];