summaryrefslogtreecommitdiffstats
path: root/macosx/HBSubtitles.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-01-21 07:12:45 +0000
committerritsuka <[email protected]>2015-01-21 07:12:45 +0000
commit1784a808ebe642b54bff0d06abc147226d0287fe (patch)
treea7574a13a43b83da1858f85d77d790429cdf533d /macosx/HBSubtitles.m
parentab2fbd0d331ac4be8b3a78b977d328f91dcbfedf (diff)
MacGui: do a mutable copy instead of a copy for the masterTrackArray.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6783 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBSubtitles.m')
-rw-r--r--macosx/HBSubtitles.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBSubtitles.m b/macosx/HBSubtitles.m
index 37e71ea9b..594a406dc 100644
--- a/macosx/HBSubtitles.m
+++ b/macosx/HBSubtitles.m
@@ -430,7 +430,7 @@ NSString *keySubTrackLanguageIndex = @"keySubTrackLanguageIndex";
{
copy->_container = _container;
- copy->_masterTrackArray = [_masterTrackArray copy];
+ copy->_masterTrackArray = [_masterTrackArray mutableCopy];
copy->_foreignAudioSearchTrackName = [_foreignAudioSearchTrackName copy];
copy->_tracks = [[NSMutableArray alloc] init];