From: David Fuhrmann Date: Fri, 21 Jun 2013 20:17:10 +0000 (+0200) Subject: macosx: CAS: fix format for custom profiles storage X-Git-Tag: 2.1.0-git~60 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=a54a295b7aec0ef45631ecb85d64014ca0dc62df;p=vlc macosx: CAS: fix format for custom profiles storage --- diff --git a/modules/gui/macosx/ConvertAndSave.m b/modules/gui/macosx/ConvertAndSave.m index c6a2695414..780868629f 100644 --- a/modules/gui/macosx/ConvertAndSave.m +++ b/modules/gui/macosx/ConvertAndSave.m @@ -601,8 +601,9 @@ static VLCConvertAndSave *_o_sharedInstance = nil; [workArray addObject:text]; [self setProfileNames:[[[NSArray alloc] initWithArray:workArray] autorelease]]; [workArray release]; + workArray = [[NSMutableArray alloc] initWithArray:self.profileValueList]; - [workArray addObject:[[[NSArray alloc] initWithArray:self.currentProfile] autorelease]]; + [workArray addObject:[self.currentProfile componentsJoinedByString:@";"]]; [self setProfileValueList:[[[NSArray alloc] initWithArray:workArray] autorelease]]; [workArray release];