[vlc-commits] po: do not translate ""

Rémi Denis-Courmont git at videolan.org
Sun Apr 7 19:35:37 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Apr  7 20:35:27 2013 +0300| [6d044920bf71720d0bffcdae8f3fba4b3894a881] | committer: Rémi Denis-Courmont

po: do not translate ""

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

 modules/gui/macosx/prefs.m        |    2 +-
 modules/gui/macosx/simple_prefs.m |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/prefs.m b/modules/gui/macosx/prefs.m
index e2ef537..dd364ac 100644
--- a/modules/gui/macosx/prefs.m
+++ b/modules/gui/macosx/prefs.m
@@ -471,7 +471,7 @@ static VLCPrefs *_o_sharedMainInstance = nil;
 @implementation VLCTreePluginItem
 - (id)initWithPlugin:(module_t *)plugin
 {
-    NSString * name = _NS(module_get_name(plugin, false)?:"");
+    NSString * name = _NS(module_get_name(plugin, false));
     if (self = [super initWithName:name]) {
         _configItems = module_config_get(plugin, &_configSize);
         //_plugin = plugin;
diff --git a/modules/gui/macosx/simple_prefs.m b/modules/gui/macosx/simple_prefs.m
index a91fe3a..d2c9b5a 100644
--- a/modules/gui/macosx/simple_prefs.m
+++ b/modules/gui/macosx/simple_prefs.m
@@ -400,7 +400,7 @@ static inline char * __config_GetLabel(vlc_object_t *p_this, const char *psz_nam
 - (void)setupButton: (NSButton *)object forBoolValue: (const char *)name
 {
     [object setState: config_GetInt(p_intf, name)];
-    [object setToolTip: _NS(config_GetLabel(p_intf, name) ?: "")];
+    [object setToolTip: _NS(config_GetLabel(p_intf, name))];
 }
 
 - (void)setupField:(NSTextField *)o_object forOption:(const char *)psz_option



More information about the vlc-commits mailing list