[vlc-commits] macosx: do not translate name of config items

David Fuhrmann git at videolan.org
Tue Mar 4 19:19:40 CET 2014


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Tue Mar  4 19:03:14 2014 +0100| [283fee16a0ee523aa286a408ec0c85c4c590ee98] | committer: David Fuhrmann

macosx: do not translate name of config items

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=283fee16a0ee523aa286a408ec0c85c4c590ee98
---

 modules/gui/macosx/prefs.m |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/gui/macosx/prefs.m b/modules/gui/macosx/prefs.m
index 0b87421..ee31032 100644
--- a/modules/gui/macosx/prefs.m
+++ b/modules/gui/macosx/prefs.m
@@ -484,9 +484,8 @@ static VLCPrefs *_o_sharedMainInstance = nil;
 
 - (id)initWithConfigItem: (module_config_t *) configItem
 {
-    NSString * name = _NS(configItem->psz_name);
+    NSString *name = toNSStr(configItem->psz_name);
     self = [super initWithName:name];
-    [name release];
     if (self != nil)
         _configItem = configItem;
 



More information about the vlc-commits mailing list