VGMStream Decoder: Fix mutable dictionary
This dictionary was replaced with an inline literal declaration, but this defines an immutable dictionary. Change it to a mutable copy. Signed-off-by: Christopher Snowhill <kode54@gmail.com>CQTexperiment
parent
ab8154348e
commit
183a03657d
|
@ -175,9 +175,9 @@ static NSString *get_description_tag(const char *description, const char *tag, c
|
|||
if([track isEqualToNumber:[NSNumber numberWithInt:0]])
|
||||
track = [NSNumber numberWithInt:track_num];
|
||||
|
||||
NSMutableDictionary *mutableMetadata = @{@"title": title,
|
||||
@"track": track,
|
||||
@"disc": disc};
|
||||
NSMutableDictionary *mutableMetadata = [@{ @"title": title,
|
||||
@"track": track,
|
||||
@"disc": disc } mutableCopy];
|
||||
|
||||
if(![album isEqualToString:@""])
|
||||
[mutableMetadata setValue:album forKey:@"album"];
|
||||
|
|
Loading…
Reference in New Issue