Commit bf8c4379 authored by Faustino E. Osuna's avatar Faustino E. Osuna Committed by Felix Paul Kühne

macosx: don't assign NULL as pref button tooltip

Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent d6411a2a
...@@ -434,7 +434,7 @@ static inline char * __config_GetLabel( vlc_object_t *p_this, const char *psz_na ...@@ -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 - (void)setupButton: (NSButton *)object forBoolValue: (const char *)name
{ {
[object setState: config_GetInt( p_intf, 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 - (void)setupField:(NSTextField *)o_object forOption:(const char *)psz_option
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment