summaryrefslogtreecommitdiffstats
path: root/macosx/HBTitle.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2018-10-08 16:26:01 +0200
committerDamiano Galassi <[email protected]>2018-10-08 16:26:01 +0200
commit44623d61875d93f9f94ee027a25e384604c5ef27 (patch)
tree7f60c55940384b37ebbc15b1978b97378b7ab8d3 /macosx/HBTitle.m
parent4906e78e09959c1c9e231861c8740a40ddc98a96 (diff)
MacGui: add a missing [super init]
Diffstat (limited to 'macosx/HBTitle.m')
-rw-r--r--macosx/HBTitle.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/HBTitle.m b/macosx/HBTitle.m
index 01cf53bca..078257833 100644
--- a/macosx/HBTitle.m
+++ b/macosx/HBTitle.m
@@ -35,7 +35,11 @@ extern NSString *keySubTrackType;
@implementation HBMetadata
- (instancetype)initWithMetadata:(hb_metadata_t *)data
{
- _hb_metadata = data;
+ self = [super init];
+ if (self)
+ {
+ _hb_metadata = data;
+ }
return self;
}