[vlc-commits] macosx: CAS: fix format for custom profiles storage
David Fuhrmann
git at videolan.org
Fri Jun 21 22:43:44 CEST 2013
vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Fri Jun 21 22:17:10 2013 +0200| [a54a295b7aec0ef45631ecb85d64014ca0dc62df] | committer: David Fuhrmann
macosx: CAS: fix format for custom profiles storage
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a54a295b7aec0ef45631ecb85d64014ca0dc62df
---
modules/gui/macosx/ConvertAndSave.m | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/gui/macosx/ConvertAndSave.m b/modules/gui/macosx/ConvertAndSave.m
index c6a2695..7808686 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];
More information about the vlc-commits
mailing list