]> git.sesse.net Git - vlc/commitdiff
macosx: CAS: fix format for custom profiles storage
authorDavid Fuhrmann <david.fuhrmann@googlemail.com>
Fri, 21 Jun 2013 20:17:10 +0000 (22:17 +0200)
committerDavid Fuhrmann <david.fuhrmann@googlemail.com>
Fri, 21 Jun 2013 20:40:38 +0000 (22:40 +0200)
modules/gui/macosx/ConvertAndSave.m

index c6a2695414544afc2b5593d5e3a3aca75335b9b6..780868629f6740582ad802bae424e728be0617d3 100644 (file)
@@ -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];