vlc | branch: master | Faustino E. Osuna <[email protected]> | Sun Jan 22 
15:58:14 2012 +0100| [bf8c4379b6d16102c78f8a9de49e50c6c683502c] | committer: 
Felix Paul Kühne

macosx: don't assign NULL as pref button tooltip

Signed-off-by: Felix Paul Kühne <[email protected]>

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

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

diff --git a/modules/gui/macosx/simple_prefs.m 
b/modules/gui/macosx/simple_prefs.m
index 445d4c7..1347a96 100644
--- a/modules/gui/macosx/simple_prefs.m
+++ b/modules/gui/macosx/simple_prefs.m
@@ -434,7 +434,7 @@ static inline char * __config_GetLabel( vlc_object_t 
*p_this, const char *psz_na
 - (void)setupButton: (NSButton *)object forBoolValue: (const char *)name
 {
     [object setState: config_GetInt( p_intf, name )];
-    [object setToolTip: [NSString stringWithUTF8String: config_GetLabel( 
p_intf, name )]];
+    [object setToolTip: [NSString stringWithUTF8String: config_GetLabel( 
p_intf, name ) ?: ""]];
 }
 
 - (void)setupField:(NSTextField *)o_object forOption:(const char *)psz_option

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to