diff options
author | Damiano Galassi <[email protected]> | 2018-10-08 16:26:01 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2018-10-08 16:26:01 +0200 |
commit | 44623d61875d93f9f94ee027a25e384604c5ef27 (patch) | |
tree | 7f60c55940384b37ebbc15b1978b97378b7ab8d3 /macosx | |
parent | 4906e78e09959c1c9e231861c8740a40ddc98a96 (diff) |
MacGui: add a missing [super init]
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBTitle.m | 6 |
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; } |